
Mapbox Google Maps Migration
mapbox/mapbox-agent-skillsOfficial
Migration guide mapping Google Maps Platform APIs and patterns onto Mapbox GL JS equivalents.
- skills.sh installs
- 1.5K
- GitHub stars
- 87
- last updated
- Aug 21, 2026
What it does
- Covers map initialization, API method and event equivalents, markers, popups, and a seven-step migration strategy
- Includes side-by-side Google Maps and Mapbox GL JS code, plus reference tables for map methods and events
- Flags gotchas such as reversed
[lng, lat]coordinate order and Street View, which has no Mapbox equivalent - Designed for developers moving existing web mapping applications from Google Maps Platform to Mapbox
Install
$ npx -y skills add mapbox/mapbox-agent-skills --skill mapbox-google-maps-migration -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Mapbox Google Maps Migration Skill
Comprehensive guidance for migrating from Google Maps Platform to Mapbox GL JS. Provides API equivalents, pattern translations, and strategies for successful migration.
Core Philosophy Differences
Google Maps: Imperative & Object-Oriented
- Create objects (Marker, Polygon, etc.)
- Add to map with
.setMap(map) - Update properties with setters
- Heavy reliance on object instances
Mapbox GL JS: Declarative & Data-Driven
- Add data sources
- Define layers (visual representation)
- Style with JSON
- Update data, not object properties
Key Insight: Mapbox treats everything as data + styling, not individual objects.
Map Initialization
Google Maps
const map = new google.maps.Map(document.getElementById('map'), {
center: { lat: 37.7749, lng: -122.4194 },
zoom: 12,
mapTypeId: 'roadmap' // or 'satellite', 'hybrid', 'terrain'
});
Mapbox GL JS
Details
- Repository
- github.com/mapbox/mapbox-agent-skills
- Category
- Frontend & UI Code
- First seen
- May 16, 2026
More from mapbox/mapbox-agent-skills
All 18- Mapbox Mcp Runtime Patterns1.5K
- Mapbox Maplibre Migration1.4K
- Mapbox Location Grounding1.3K
- Mapbox Web Integration Patterns2.7K
- Mapbox Web Performance Patterns2.6K
- Mapbox Style Patterns2.5K
- Mapbox Geospatial Operations2.3K
- Mapbox Cartography2.2K
- Mapbox Data Visualization Patterns2.2K
- Mapbox Style Quality2.1K
- Mapbox Token Security2K
- Mapbox Search Integration2K
- Mapbox Search Patterns1.9K
- Mapbox Store Locator Patterns1.8K
- Mapbox Mcp Devkit Patterns1.6K
- Mapbox Ios Patterns1.5K
- Mapbox Android Patterns1.5K
Similar to Mapbox Google Maps Migration
More Frontend & UI Code
mapbox-maplibre-migrationSkillmapbox/mapbox-agent-skills1.4K installsGuide for migrating MapLibre GL JS projects to Mapbox GL JS with token setup and style configuration.
maplibre-mapbox-migrationSkillmaplibre/maplibre-agent-skills513 installsMigrating an existing Mapbox GL JS map to MapLibre: swap packages, drop the access token, and pick a new tile source.
mapbox-web-integration-patternsSkillmapbox/mapbox-agent-skills2.7K installsIntegration patterns for Mapbox GL JS across React, Vue, Svelte, and Angular, with lifecycle and cleanup guidance.
mapboxPluginanthropics/claude-plugins-official47.9K starsMapbox skills and MCP servers for building location-aware applications with AI. Includes geospatial tools, style management, and patterns for web, iOS, Android,
Platform AiMCP servergooglemaps104 starsDocumentation search and best-practice guidance for Google Maps Platform APIs, served remotely.
migrate-oai-appSkillmodelcontextprotocol/ext-apps1.1K installsGuide for converting OpenAI Apps SDK applications to MCP Apps SDK with API mapping tables.