Show Geo Map
Show_Geo_Map renders an interactive geo workspace inside chat. Use it for named marker series, route overlays, dense point maps with clustering, and marker-selection workflows where the user should click locations instead of replying in free text.
When To Use
Use
Show_Geo_Mapfor geographic review of buyer offices, vendor offices, field sites, target facilities, or other point-based location sets.Use
Show_Geo_Mapwhen a route overlay helps explain travel, coverage, or HQ-to-site relationships.Turn on
selectionwhen the user should click markers and send the chosen locations back to chat throughInteraction_State.Turn on
clusteringfor dense office, site, or facility maps where point overlap would otherwise make the map unreadable.Do not use
Show_Geo_Mapfor choropleths, boundary-layer analysis, GeoJSON polygons, or heatmaps in this phase.Use
Show_Chartwhen the user needs a trend, comparison, or leaderboard rather than a geographic surface.
Contract
Required top-level keys:
idseries
Optional top-level keys:
titledescriptionclusteringviewportselectionlegendroutes
Series And Markers
seriesis a required non-empty array.Each series must include:
idlabelmarkers
Each marker must include:
idlatlnglabel
Optional marker keys:
subLabeltooltipdetailrecordRefmetadatastyle
Optional series keys:
colorstyle
Marker ids must be unique across the entire map so selection state can address them safely.
clustering
clusteringclusteringis an optional strict object for dense marker sets.Supported shape:
Clustering applies only to markers, never routes.
Cluster clicks zoom or spiderfy; clusters are not themselves selectable.
viewport
viewportviewportis an optional strict object.Supported shape:
modevalues:fit_allcenter_zoom
center_zoomrequires bothcenterandzoom.fit_allauto-fits all markers and routes and does not acceptcenterorzoom.
selection
selectionselectionis an optional strict object.Selection is marker-only in this phase.
When
selection.enabledistrue,Show_Geo_Mapreturns interaction fields and writes canonical marker selections, selected record refs, viewport state, and last-event metadata throughInteraction_State.Supported shape:
modevalues:singlemulti
toolsvalues:clickbox
clickis always required.boxenables Shift-drag box selection on multi-select maps.allowSelectInViewshows a “Select visible” action that replaces the current selection with markers inside the current viewport.
Marker Styling
Use
series.stylefor semantic defaults andmarker.styleonly for per-marker emphasis.Supported style shape:
Supported
sizevalues:smmdlg
Supported
iconvalues:circlesquarediamondtrianglestar
routes
routesroutesis an optional array.Each route must include:
idpoints
Optional route keys:
labeltooltipdetailstyle
styleis a strict object like:
Canonical Examples
Static multi-series office map:
Selectable buyer-office map with box select and select-visible:
Clustered styled office map:
Route / coverage map:
Last updated
Was this helpful?
