@maplibre-mapbox-migration
此技能将指导您将应用程序从 Mapbox GL JS 迁移到 MapLibre GL JS 。这两个库具有共同的祖先(MapLibre 于 2020 年 12 月从 Mapbox GL JS v1.13 分叉),因此 API 基本相同。主要更改是:交换包、替换命名空间、删除 Mapbox 访问令牌以及选择新的图块源(MapLibre 不使用 mapbox:// 样式)。
此技能将指导您将应用程序从 Mapbox GL JS 迁移到 MapLibre GL JS 。这两个库具有共同的祖先(MapLibre 于 2020 年 12 月从 Mapbox GL JS v1.13 分叉),因此 API 基本相同。主要更改是:交换包、替换命名空间、删除 Mapbox 访问令牌以及选择新的图块源(MapLibre 不使用 mapbox:// 样式)。