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

ugly hotfix for not breaking mapbox styles without names #55

Closed
wants to merge 1 commit into from

Conversation

fabianpoels
Copy link

When starting the map with one of the available styles (eg: 'mapbox://styles/mapbox/standard'), no name is added to the root style element. This makes the plugin crash.

My proposed fix is for sure not the most elegant, but it will keep the plugin from breaking for now.

@korywka
Copy link
Owner

korywka commented Apr 19, 2024

@fabianpoels Thanks. It is not style without name. It is broken mapbox .getStyle method for MapBox Standard style: mapbox/mapbox-gl-js#13160

Fixed in the new release, please try v1.2.0.

@korywka korywka closed this Apr 19, 2024
@fabianpoels
Copy link
Author

@korywka works perfectly, thanks. Apologies for my laziness, I didn't consider mapbox to be buggy

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.

None yet

3 participants