Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Roadmap] v8.0 plan: [email protected] and [email protected] #2457

Open
Pessimistress opened this issue Dec 31, 2024 · 3 comments
Open

[Roadmap] v8.0 plan: [email protected] and [email protected] #2457

Pessimistress opened this issue Dec 31, 2024 · 3 comments
Labels

Comments

@Pessimistress
Copy link
Collaborator

Target Use Case

Restructure the package to better handle the increasing divergence of the Maplibre and Mapbox APIs.
The current 7.x type-sharing system is not compatible with mapbox-gl v3.5 official types and some maplibre-gl v5.0 breaking changes.

Proposal

The code base will be split into independent implementations for mapbox-gl and maplibre-gl wrappers. There will be 3 endpoints exported:

  • react-map-gl/maplibre: Maplibre wrapper, compatible with maplibre-gl@>=4. It is also independently published as @vis.gl/react-maplibre. An alpha release is available for testing here.
  • react-map-gl/mapbox: Mapbox wrapper, compatible with mapbox-gl@>=3.5.0. It will also be independently published as @vis.gl/react-mapbox.
  • react-map-gl/mapbox-legacy: the legacy Mapbox wrapper, compatible with mapbox-gl v1.x and v2.x.

Support for maplibre-gl v3 and older will be deprecated because we're not aware of appealing reasons/significant blockers against upgrading. Please reply to this thread if you have a special use case.

@jgarplind
Copy link

Sounds great. Will happily alpha test @vis.gl/react-mapbox once it is available.

@nilsingwersen
Copy link

So should new PRs for the maplibre globe for example be made to the react-maplibre repo and not this?

@Pessimistress
Copy link
Collaborator Author

@nilsingwersen the plan is to consolidate all source code into this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants