Open pollyplummer opened 3 years ago
The migration process looks painless, assuming the documentation is right. Update the dependency and one string replacement.
I'm going to mark this as a Janitorial
issue, similar to other dependency upgrades, since the intent of the new library is just that.
Release Leads: Let's see about attempting this when we do the other deps bumps at the beginning of the 10.0 cycle. It may not feasible until they have some better support for bindings via React, but at least check it out.
There are high quality react bindings for MapLibre: https://visgl.github.io/react-map-gl/docs/get-started
Is your feature request related to a problem? Please describe.
WordPress.com and Jetpack currently use version mapbox-gl 1.13.0 for the Map block, the last open source version of Mapbox GL JS. Versions 2.0+ are no longer open source. In the future when updating beyond version 1.13, WordPress.com and Jetpack should consider supporting an open source fork of this project.
Describe the solution you'd like
Update to use MapLibre GL, the official open source successor to Mapbox. The project was founded by a diverse group of companies who are contributing to this healthy, community-led fork, including MapTiler, Elastic, StadiaMaps, Microsoft, Ceres Imaging, WhereGroup, Jawg, Stamen Design, and more.
Additional context
https://wptavern.com/maplibre-launches-as-official-open-source-successor-to-mapbox-gl-js