Back to all examples
POI category icons playground
Pick a circle, square, diamond or pin, and its colour, per POI category, on the map's own POIs and on searched places alike
Every category’s icon changes at once on the POIs the map style draws and on the places a search found, from one list of images.
POIsModuletakesicon.categoryIconsand redraws the style’s own POI layer with it, leaving every unlisted category its map icon.PlacesModuletakes the same list, matched by map category, soRESTAURANTalso reaches a searchedITALIAN_RESTAURANT.- Each icon is an SVG string: a category’s glyph file placed inside a shape outline, so any glyph goes with any shape.
- One
offsetYper entry stands a pin’s tip on its place under both modules, since each draws the icons centred.
Related examples
Geopolitical views playground
Fly to a disputed territory and see its borders, names and address from each country's view
Playground
Base Map
Places and Search
Web
Map Chat Agent
Interactive map assistant using AI to control maps and services
AI
Places and Search
Map Style
Base Map
Geometry
Traffic
Routing
Web
Playground
Plugins
Map Chat Agent State Playground
Interactive map assistant using AI to control maps and services
AI
Places and Search
Map Style
Base Map
Geometry
Traffic
Routing
Web
Playground
Plugins
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
AI
Places and Search
Routing
Traffic
Map Style
Base Map
Web
Playground