A "Start route" button is introduced. It only appears after there is an origin and destination (i.e., a route is selected). When clicked, it redirects the user back to the his location (i.e., the origin coordinates) and subscribes to location updates from the device (using Location.watchPositionAsync(options: Location.LocationOptions, callback: Location.LocationCallback)).\
The isNavigationActive state var is currently not used, perhaps we can use it for something later on.
A "Start route" button is introduced. It only appears after there is an
origin
anddestination
(i.e., a route is selected). When clicked, it redirects the user back to the his location (i.e., theorigin
coordinates) and subscribes to location updates from the device (usingLocation.watchPositionAsync(options: Location.LocationOptions, callback: Location.LocationCallback)
).\The
isNavigationActive
state var is currently not used, perhaps we can use it for something later on.This PR additionally adds some comments.