Skip to content

[feature] Map visualization for latitude/longitude query results #1205

Description

@tckaros

We have several use cases for displaying latitude/longitude data on a map, and I think this could be a useful general-purpose capability in nao.

Are map visualizations already on your roadmap? If not, is this a direction you’d be interested in exploring?

To make the idea concrete, I’ve put together a working proof of concept in #1206. It adds a display_map tool modeled after display_chart, allowing the agent to plot points from an execute_sql result on an interactive MapLibre map using an OpenFreeMap basemap. It includes popups, input validation, and a graceful “Open in nao” fallback on Slack, Teams, and Telegram.

The PR is primarily intended to support the discussion. If this direction fits your plans, I expect you may have opinions about the implementation, such as the default third-party basemap or which surfaces should expose the tool, and I’m happy to rework it accordingly. If maps aren’t a direction you want to pursue, I’m equally happy to close it.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions