·maplibre-mapbox-migration
</>

maplibre-mapbox-migration

从 Mapbox GL JS 迁移到 MapLibre GL JS — 打包和导入更改、删除访问令牌、选择图块源、插件等效项以及您获得或放弃的内容。将现有 Mapbox 地图移动到 MapLibre 时使用。

23安装·2热度·@maplibre

安装

$npx skills add https://github.com/maplibre/maplibre-agent-skills --skill maplibre-mapbox-migration

如何安装 maplibre-mapbox-migration

通过命令行快速安装 maplibre-mapbox-migration AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/maplibre/maplibre-agent-skills --skill maplibre-mapbox-migration
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:maplibre/maplibre-agent-skills。

SKILL.md

查看原文

This skill guides you through migrating an application from Mapbox GL JS to MapLibre GL JS. The two libraries share a common ancestry (MapLibre forked from Mapbox GL JS v1.13 in December 2020), so the API is largely the same. The main changes are: swap the package, replace the namespace, remove the Mapbox access token, and choose a new tile source (MapLibre does not use mapbox:// styles).

What you give up: Mapbox Studio integration, Mapbox-hosted tiles and styles, Mapbox Search/Directions/Geocoding APIs, official Mapbox support.

Replace all mapboxgl with maplibregl (and mapbox-gl with maplibre-gl in package names or paths). Examples:

从 Mapbox GL JS 迁移到 MapLibre GL JS — 打包和导入更改、删除访问令牌、选择图块源、插件等效项以及您获得或放弃的内容。将现有 Mapbox 地图移动到 MapLibre 时使用。 来源:maplibre/maplibre-agent-skills。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/maplibre/maplibre-agent-skills --skill maplibre-mapbox-migration
分类
</>开发工具
认证
收录时间
2026-03-04
更新时间
2026-03-10

Browse more skills from maplibre/maplibre-agent-skills

快速解答

什么是 maplibre-mapbox-migration?

从 Mapbox GL JS 迁移到 MapLibre GL JS — 打包和导入更改、删除访问令牌、选择图块源、插件等效项以及您获得或放弃的内容。将现有 Mapbox 地图移动到 MapLibre 时使用。 来源:maplibre/maplibre-agent-skills。

如何安装 maplibre-mapbox-migration?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/maplibre/maplibre-agent-skills --skill maplibre-mapbox-migration 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/maplibre/maplibre-agent-skills

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-03-04