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. Use when a dataset's data is geographic and a map view is needed alongside the showcase's default metadata and download.
$npx -y skills add datopian/portaljs --skill portaljs-add-mapInstalls into the current project.
Run `npx skills use "https://github.com/datopian/portaljs" --skill "datopian/portaljs/portaljs-add-map"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/datopian/portaljs" that are relevant to the current task. Run `npx skills add "https://github.com/datopian/portaljs"` and select the relevant skills, then follow their instructions.