-
-
Notifications
You must be signed in to change notification settings - Fork 717
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
mapbox-gl-rtl-text v0.3.0 support #4850
Comments
I think version 0.3.0 is loading the method in a async manner, and the code expects it to run immediately. maplibre-gl-js/src/source/worker.ts Line 206 in 86ed382
The following method is expected to call right await, but it doesn't in the new version: maplibre-gl-js/src/source/worker.ts Line 85 in 86ed382
|
I've created a PR to fix this issue, any chance you can also test it on your end? |
Awesome. Thanks so much for picking this up quickly. |
We are loading maplibre-gl 4.7.1 dynamically from esm which works well.
This allows us to use the [email protected] loaded from the unpkg cdn.
When we are trying to update the plugin to the latest version https://unpkg.com/@mapbox/[email protected]/dist/mapbox-gl-rtl-text.js we hit an error on plugin registration and arabix text is not displayed.
"RTL Text Plugin failed to import scripts from https://unpkg.com/@mapbox/[email protected]/dist/mapbox-gl-rtl-text.js"
This is not a big issue since 0.2.3 version is working as expected though I would like to understand the nature of the issue.
The text was updated successfully, but these errors were encountered: