Route waypoints playground
Restyle a route's waypoint pins per role, number or letter its stops, and give them icons of your own.
A day trip with three stops redraws its pins as the panel changes, and the stops found by search wear their place’s category.
routingKnobCataloguelists every waypoint setting with its kind and range, so the panel is built from it andsetKnobapplies each change to the pins already shown.waypoints.icon.mappingpicks a pin per stop from its search result, and a stop it skips keeps its number.- A handler on
events.waypointsis what makes the pins grow on hover, and it receives each stop’s title and mark as drawn.
Related examples
Add Stops to Route (Playground)
Dynamically add and remove intermediate stops on a route by clicking the map
Playground
Routing
Utilities
User Interaction Events
Web
React Route Planner
Search, add and drag stops, set how long you stay at each, follow the trip on a timeline of its road sections, then fly over it.
Playground
Routing
Search and Geocoding
Electric Vehicles
User Interaction Events
Utilities
Plugins
Web
React
Route Avoid Options Playground
Pick a vehicle, road types to avoid and stretches to box off, and watch London to Brussels replan
Playground
Routing
User Interaction Events
Web
Route progress playground
Hover and click along the route line to see time and distance progress
Playground
Routing
Utilities
User Interaction Events
Web