JavaScript/jQuery Map - routes
color
Type:
Default Value: '#0000FF'
This property supports the following colors:
- Hexadecimal colors
- RGB colors
- RGBA colors
- Predefined/cross-browser color names
- Predefined SVG colors
- Paint server address
mode
You can choose between two predefined modes— 'driving'
or 'walking'
—regardless of the current provider. Additionally, provider-specific modes are available:
-
DRIVING
BICYCLING
TRANSIT
WALKING
-
bicycle
bus
car
motorcycle
pedestrian
taxi
truck
van
-
driving
transit
truck
walking
NOTE
If the route does not render as expected, consider the following:
- Not every provider supports all possible route modes. Make sure that you specify a supported mode.
- Check that you specify a provider-specific spelling (compare Google's
BICYCLING
and Azure'sbicycle
). - DevExtreme Map allows partial access to provider’s API. If you changed configuration, the provider may no longer support the route mode you specified.
Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.