Description Usage Arguments Value
Helper functions for drawing different routes.
1 2 3 4 5 6 7 8 9 |
map |
A leaflet map. |
segment |
A route segment object to draw. |
drawOptions |
Drawing options provided by |
type |
What route type to draw. |
group |
The leaflet map group to add the routes to. |
... |
Further arguments to pass to leaflet functions. |
The map with the route segment/markers drawn on
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.