datopian

Portaljs Add Map — Development skill for Claude Code

Development community

Render a GeoJSON dataset on an interactive Leaflet map in the Views section of a dataset's showcase.

How to install Portaljs Add Map

Installs to ~/.claude/commands/datopian-portaljs-portaljs-add-map.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/datopian/portaljs/HEAD/.claude/commands/portaljs-add-map.md -o ~/.claude/commands/datopian-portaljs-portaljs-add-map.md

Restart Claude Code, or start a new session, for it to be picked up.

What Portaljs Add Map does


description: Render a GeoJSON dataset on an interactive Leaflet map in the Views section of a dataset's showcase. Installs react-leaflet and a Map component, then renders the map for the chosen dataset. allowed-tools: Read, Write, Edit, Bash, WebFetch

/portaljs-add-map

Add an interactive Leaflet map as a **view on a dataset's showcase** in a `portaljs-catalog` portal. Installs `react-leaflet`/`leaflet` (once), generates a reusable `Map` component, and renders the map into the **Views

Alternatives in Development

Full documentation available on GitHub

View Source Repository