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

feat: remove RTLTextPlugin default for MapLibre #2480

Merged

Conversation

KiwiKilian
Copy link
Contributor

@KiwiKilian KiwiKilian commented Jan 30, 2025

As discussed previously, I've removed the default value for the RTLTextPlugin which loaded from mapbox.com. This aligns more closely to the default behavior of the maplib, forcing the user to manually set such url. The prop now also accepts an object, to allow full configuration of the setRTLTextPlugin call.

This implements the proper fix towards #2310

BREAKING CHANGE: RTLTextPlugin must now be set manually as prop

docs/upgrade-guide.md Outdated Show resolved Hide resolved
modules/react-maplibre/src/utils/set-globals.ts Outdated Show resolved Hide resolved
@Pessimistress Pessimistress merged commit fbf2791 into visgl:master Jan 31, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants