Hi, how can we define provider specific options i.e. travelMode from Tomtom:
travelMode : string
The mode of travel for the requested route.
- Note that the requested
travelModemay not be available for the entire route. - Where the requested
travelModeis not available for a particular section, thetravelModeelement of the Response for that section will be "other".
Note that travel modes bus , motorcycle , taxi , and van are in BETA functionality. Full restriction data is not available in all areas.
In calculateReachableRange requests, the values bicycle and pedestrian must not be used.
Default value: car
Other values:
trucktaxibusvanmotorcyclebicyclepedestrian
We need such options within Directions and Maps api.