map-layer-add
CommunityAdd and manage map overlays with ease.
AuthorMrSuttonmann
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This pattern provides a structured approach to adding new, toggleable overlays to a Leaflet map, wiring the layers control, persistence, and keyboard interactions without duplicating boilerplate.
Core Features & Use Cases
- Proxy overlay: overlay logic resides in a dedicated module that fetches and renders data, exposes a setX(on) interface, and manages its own layerGroup.
- Tile overlay: overlay is a simple L.tileLayer for raster sources with Leaflet's built-in lifecycle.
- Use Case: ideal for weather radar, flight paths, wind barbs, METAR stations, MLAT coverage, or custom GeoJSON overlays.
Quick Start
Create a new proxy overlay module and wire it into map_setup.js and initMap as described, then toggle it via the map layers control.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: map-layer-add Download link: https://github.com/MrSuttonmann/flightjar/archive/main.zip#map-layer-add Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.