edbnedbn/ui
Maps
Getting StartedInstallationAPI Reference
Map Components
MapControlsMarkersPopupsRoutes
ClustersSearchHeatmapDirectionsAdvanced
0installs
ComponentsBlocksMaps
HomeDocsMapsRoutes

On this page

Routes

Draw lines and paths connecting coordinates on the map.

Use MapRoute to draw lines connecting a series of coordinates. Perfect for showing directions, trails, or any path between points.

Basic Route

Draw a route with numbered stop markers along the path.

© CARTO, © OpenStreetMap

Route Planning

Display multiple route options and let users select between them. This example fetches real driving directions from the OSRM API. Click on a route or use the buttons to switch.

© CARTO, © OpenStreetMap