Navigation
Definition
The Navigation component generates directions between two locations using a service called OpenRouteService. You must provide a valid API key from that service in order for this component to work.
Properties
- API Key for Open Route Service. Obtain an API key at https://openrouteservice.org.
- The latitude of the end location.
- Set the end location.
- The longitude of the end location.
- The language to use for textual directions. Default is “en” for English.
- The raw response from the server. This can be used to access more details beyond what the
GotDirections
event provides. - The latitude of the start location.
- Set the start location.
- The longitude of the start location.
- The transportation method used for determining the route. Valid options are:
foot-walking
: Route based on walking pathsdriving-car
: Route based on vehicle pathscycling-regular
: Route based on bicycle pathswheelchair
: Route based on wheelchair accessible paths