mapbox-google-maps-migration
Skill by mapbox
Guides developers moving a web map from Google Maps Platform to Mapbox GL JS. It covers API equivalents, code pattern translations, and key differences between the two libraries.
Install mapbox-google-maps-migration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mapbox/mapbox-agent-skills /tmp/mapbox-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/mapbox-agent-skills/skills/mapbox-google-maps-migration ~/.claude/skills/mapbox-google-maps-migrationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install mapbox-google-maps-migration in Claude Code
git clone --depth 1 https://github.com/mapbox/mapbox-agent-skills /tmp/mapbox-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/mapbox-agent-skills/skills/mapbox-google-maps-migration ~/.gemini/antigravity-cli/skills/mapbox-google-maps-migrationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install mapbox-google-maps-migration in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a migration guide for moving a web map from Google Maps Platform to Mapbox GL JS. It gives side-by-side code for map setup, markers, popups and events, plus tables that map Google Maps methods and events to their Mapbox equivalents. It also points out gotchas such as the reversed coordinate order, where Google uses {lat, lng} and Mapbox uses [lng, lat].
The guide explains the shift from Google's imperative objects to Mapbox's declarative, data-driven sources and layers, and recommends GeoJSON layers for large point sets. It includes a step-by-step migration plan, a feature audit checklist, and a section on when not to migrate, such as when Street View is critical. Detailed topics are split into reference files. It is aimed at developers who already have Google Maps code.
Written from the project's SKILL.md and checked against it.
What it can do
- API equivalents referenceTables mapping Google Maps methods and events to Mapbox GL JS equivalents.
- Map initialization translationShows how to convert a Google Maps map setup into a Mapbox GL JS map.
- Marker and popup patternsConverts Google Maps markers and info windows into Mapbox markers, popups and layers.
- Data-driven point layersExplains moving many markers into GeoJSON sources and circle or symbol layers.
- Event handler conversionCovers changing listeners and event property names, such as latLng to lngLat.
- Migration steps and gotchasProvides a step-by-step plan, common pitfalls and a feature audit checklist.
- Migrate or stay decision guideLists situations where staying with Google Maps may be the better choice.
What you need
- Mapbox access token
- Existing Google Maps Platform code to migrate
Try asking
- Convert this Google Maps marker code to Mapbox GL JS
- Translate my Google Maps click listener to Mapbox
- Show me how to move 500 markers to a Mapbox GeoJSON layer
Good to know
- Street View has no Mapbox equivalent, according to the source.
- Google Places integration is noted as a reason to stay with Google Maps.
- Detailed guidance is split across reference files that must be loaded separately.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/mapbox-google-maps-migration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mapbox-google-maps-migration
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
mapbox-google-maps-migration: common questions
Does this skill convert Google Maps code to Mapbox automatically?
The source is a written guide with side-by-side examples and translation tables. It does not state that it performs automatic code conversion.
What is the most important difference to watch for?
The source says Mapbox uses [lng, lat] coordinate order, while Google Maps uses {lat, lng}. It stresses checking this carefully.
Which Google Maps features have no Mapbox equivalent?
The source states that Street View has no Mapbox equivalent. It also notes tight Google Workspace and Places API integration as a reason to stay.
How do I install mapbox-google-maps-migration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is mapbox-google-maps-migration free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is mapbox-google-maps-migration safe to use?
It scores 71 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mapbox-google-maps-migration?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
