map-generator

Generate interactive Leaflet maps with markers, layers, and GeoJSON for embedding.

Updated Dec 17, 2025
One-click install
npx skills add https://github.com/Lrmdom/patrimonio-pwa --skill map-generator-lrmdom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: map-generator
Source: https://github.com/Lrmdom/patrimonio-pwa/tree/main/.agents/skills/map-generator
Command: npx skills add https://github.com/Lrmdom/patrimonio-pwa --skill map-generator-lrmdom

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

Creating consistent, iframe-embeddable geographic visualizations for educational materials typically requires assembling multiple assets and code from scratch. This skill streamlines that process by generating complete Leaflet-based maps packaged as MicroSims.

Core Features & Use Cases

  • Generates interactive maps using Leaflet with markers, layers, and optional GeoJSON regions for geography or campus visualizations.
  • Produces a self-contained MicroSim package including HTML, CSS, and JavaScript ready for embedding in MkDocs-based textbooks.
  • Supports iframe-friendly output with minimal styling and instructions for integration in narrow MkDocs pages.

Quick Start

Provide the map requirements to generate a MicroSim package ready for iframe embedding.

Frequently Asked Questions about map-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an interactive Leaflet map for embedding in educational materials?

To create an interactive Leaflet map, provide your location requirements to generate a self-contained MicroSim package with HTML, CSS, and JavaScript assets ready for iframe embedding in educational textbooks.

Can I add GeoJSON layers and markers to a Leaflet map for campus guides?

Yes, you can add GeoJSON layers and markers to build campus guides. The generated map supports configurable map centers, zoom levels, marker data, tile layer options, and optional geographic regions for visualizations.

Does this Leaflet map generator work with MkDocs textbooks?

Yes, the Leaflet map generator works with MkDocs textbooks by producing iframe-friendly output with minimal styling and instructions for integration specifically designed for narrow MkDocs pages.

What is the best way to build a self-contained geographic visualization for a textbook?

The best way to build a geographic visualization is generating a self-contained MicroSim package that bundles HTML, CSS, and JavaScript assets together, ensuring consistent interactive maps without assembling multiple assets from scratch.

Do I need external dependencies to display interactive maps using Leaflet?

No external dependencies are required to display interactive maps. The generated MicroSim package is completely self-contained, bundling all necessary HTML, CSS, and JavaScript assets for a consistent location-based visualization.

Can I configure the map center and zoom level for location-based visualizations?

Yes, you can configure the map center and zoom level for location-based visualizations. The generator supports customizable marker data, tile layer options, and optional GeoJSON layers for geography demonstrations.