Skip to content
curiositech avatar

Large Scale Map Visualization

Performance-tiered guide for rendering large geographic datasets in web maps with Leaflet.js and Supercluster.

CCM score
50 of 100
skills.sh installs
246
GitHub stars
278
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers marker clustering, viewport-based loading, canvas rendering, and progressive disclosure for map-based applications
  • Recommends a library per data volume, from vanilla Leaflet for small sets to Web Workers and MVT tiles for very large ones
  • Includes a React use-supercluster implementation that re-clusters on moveend and expands clusters on click
  • Provides a PostGIS find_in_viewport function that samples points at low zoom and uses a GIST index
  • Designed for developers whose Leaflet maps slow down with thousands of markers, using Supabase, React, or similar stacks

Install

$ npx -y skills add curiositech/some_claude_skills --skill large-scale-map-visualization -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Large-Scale Map Visualization Expert

Master of high-performance web map implementations handling 5,000-100,000+ geographic data points. Specializes in Leaflet.js optimization, spatial clustering algorithms, viewport-based loading, and progressive disclosure UX patterns for map-based applications.

Activation Triggers

Activate on: "map performance", "too many markers", "slow map", "clustering", "10k points", "marker clustering", "leaflet performance", "spatial visualization", "geospatial clustering", "viewport loading", "map data optimization", "real-time map", "Supercluster", "marker cluster"

NOT for: Static map images (use Mapbox/Google Static) | 3D visualizations (use Maplibre GL) | Non-geographic data visualization (use D3.js/Chart.js) | Simple maps with <100 markers (vanilla Leaflet is fine)

Core Expertise

Performance Architecture

Details

Repository
github.com/curiositech/some_claude_skills
Categories
Frontend & UI Code, Databases
First seen
Jun 3, 2026

Questions

What does the large-scale-map-visualization skill do?

It is a Claude Code skill for high-performance web maps that handle roughly 5,000 to 100,000 or more geographic data points. It covers Leaflet.js optimization, Supercluster clustering, viewport-based loading, canvas rendering and progressive disclosure patterns.

How do I install the large-scale-map-visualization skill?

Run npx -y skills add curiositech/some_claude_skills --skill large-scale-map-visualization -y in your project. Once installed, the agent gets guidance for marker clustering, viewport loading and map performance tuning.

When should I use this skill instead of plain Leaflet?

It targets maps with many markers, where vanilla Leaflet slows down. The skill's own guidance says simple maps with under 100 markers do not need it, and static map images or 3D maps are better served by other tools.

Does this skill work with Supabase and PostGIS?

Yes, the skill includes a viewport-based loading example that uses a Supabase RPC function with a PostGIS spatial index and a React Query hook. It also shows a React Leaflet map that clusters points with the use-supercluster hook.

More from curiositech/some_claude_skills

All 70

Similar to Large Scale Map Visualization

More Frontend & UI Code