Back to all examples
Reachable ranges playground
Style drive-time bands from two stations, and theme the map they take their colours from
Two stations’ drive-time bands nest around their own origins on one map, and recolour themselves whenever the map is themed.
ReachableRangesModule.showtakes the ranges of every origin in one response, groups each origin’s bands and titles them from their budgets.- Without a
fill.palette, the bands ramp from the map’s accent toward its land colour, sosetMapColorswithderiveMapColorsrepaints them with the rest of the map. reachableRangesKnobCataloguebuilds the panel. Each knob’s kind picks its control, andsetKnobapplies it.
Related examples
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
Live Traffic Agent
AI traffic-manager assistant: monitor incidents, cluster hotspots, and analyse network state
Playground
AI
Search and Geocoding
Map Style
Base Map
Geometry
Traffic
Routing
Plugins
Web
React
Site Selection Agent
A site selection agent on the TomTom Maps SDK Agent Toolkit: hand-picked default tools, custom analysis tools, its own persona and state slice
Playground
AI
Search and Geocoding
Places and POIs
Routing
Traffic
Map Style
Base Map
Plugins
Web
React