maplibre-camera
CommunityMake map camera moves smooth and safe.
Authordiscountedcookie
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a safe, reusable pattern for controlling MapLibre camera movements via a dedicated composable, preventing direct map access and feedback loops that cause unstable UI.
Core Features & Use Cases
- Composable-based control: UseMapCamera exposes flyTo, easeTo, jumpTo, and fitBounds with internal state management.
- Feedback loop prevention: Internal flags ensure user actions and programmatic moves don't endlessly ping-pong state.
- Globe visibility helpers: Utilities to filter visible markers when projecting a globe view.
- Cinematic helpers: Optional patterns for custom intro animations beyond built-in methods.
Quick Start
Load the maplibre-camera skill, call useMapCamera() to access flyTo/easeTo/jumpTo, then use flyTo({ center: [lng, lat], zoom: 10, bearing: 0, pitch: 45 }).
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: maplibre-camera Download link: https://github.com/discountedcookie/10x-mapmaster/archive/main.zip#maplibre-camera 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 223,000+ vetted skills library on demand.