This class implements the BaseRouteProvider for a polyline or circle. It's not possible to instanciate this class because the class is not exported from the module. Only one instance is created and added to the list of Providers of TravelNotes
The constructor
The icon used in the ProviderToolbarUI. Overload of the base class icon property
The provider name. Overload of the base class name property
A boolean indicating when a provider key is needed for the provider. Overload of the base class providerKeyNeeded property
The title to display in the ProviderToolbarUI button. Overload of the base class title property
The possible transit modes for the provider. Overload of the base class transitModes property Must be a subarray of [ 'bike', 'pedestrian', 'car', 'train', 'line', 'circle' ]
Call the provider, using the waypoints defined in the route and, on success, complete the route with the data from the provider
Name | Type | Description |
---|---|---|
route | Route | The route to witch the data will be added |
A reference to the edited route
Enum for icons names
Translations for instructions
This method add 64 intermediates points on a stuff of great circle
Name | Type | Description |
---|---|---|
startWayPoint | WayPoint | The starting wayPoint |
endWaypoint | WayPoint | The ending wayPoint |
Add a itineraryPoint to the itineraryPoints collection
Name | Type | Description |
---|---|---|
latLng | Array of Number | The position of the itineraryPoint |
Add a maneuver to the itinerary
Name | Type | Description |
---|---|---|
itineraryPointObjId | Number | The objId of the itineraryPoint linked to the maneuver |
position | String | The position of the maneuver. Must be kStart or kEnd |
This function set a circle as itinerary
Set a stuff of great circle as itinerary