Route Sections Playground
Draw and style every route section type with one set of knobs, and place the speed-limit signs.
Each route in the picker reaches different section types, and the panel restyles them in place, signs included.
drawnSectionTypeslists the types the map draws, so thesectionTypesrequest asks for each.RoutingModule.applyConfigtakessectionskeyed by type, with each select’s options fromroutingKnobCatalogue, so a knob restyles the line without a second request.getShown()read throughsectionSourceKeyreports which types the route carries and where each stretch starts.map.setStyleswitches between light and dark, andStylingFoundationsModule.applyConfig({ colors })adds the amber theme. The border crossing bubbles follow the look until a swatch sets their own.
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
Along route search playground
Search along one of several drives by query or category, or only along chosen section types or a share of its length
Playground
Routing
Search and Geocoding
Web
Map Chat Agent
Ask a chat beside the map for places, routes or traffic, and watch the map search, draw and frame the answer
Playground
AI
Search and Geocoding
Places and POIs
Map Style
Base Map
Geometry
Traffic
Routing
Plugins
Web
React
Map Chat Agent State Playground
A map chat whose every result lands in a side panel, where you can show, hide or drop it yourself
Playground
AI
Search and Geocoding
Places and POIs
Map Style
Base Map
Geometry
Traffic
Routing
Bring Your Own Data
Plugins
Web
React