-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Open
Copy link
Labels
enhancementNew feature or requestNew feature or request
Description
Description
It would be extremely valuable to have a built-in Map / Geolocation component in @assistant-ui/tool-ui to visually display entities with latitude/longitude coordinates.
Typical use cases include:
- Showing the position of a store / facility
- Tracking trucks / mobile assets
- Displaying equipment or tagged objects
- Any geolocated business object exposed through MCP / tools
This component would allow AI tools to surface spatial context directly inside conversations.
Expected Capabilities
- Accept one or multiple markers
- Optional title + description
- Marker labels / tooltips
- Auto-fit bounds
- Optional zoom control
- Support for light/dark themes
Bonus ideas (future):
- Marker clustering
- Polylines (routes / trajectories)
- Custom icons
- Live updates
Why this matters
In industrial / logistics / field-service contexts, spatial data is central.
Having a native map card would allow MCP tools + LLMs to:
- Instantly show where something is
- Compare multiple locations visually
- Support operational workflows (dispatch, diagnostics, monitoring)
- Reduce back-and-forth between chat and external GIS dashboards
This fits perfectly with assistant-ui’s goal of embedding real UI inside AI conversations.
Implementation Notes (optional)
- Could be based on Leaflet / MapLibre / Google Maps (implementation choice up to maintainers)
- Geometry passed as simple JSON (lat/lng)
- Rendered similarly to existing Tool UI cards
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request