Portaljs Add Map banner
datopian datopian

Portaljs Add Map

Development community

Description

--- 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

Installation

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.

Full documentation available on GitHub

View Source Repository