-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Update style and layer metadata in Style#setState #3659
Comments
Nope, I was wrong -- because of mapbox-gl-js/js/style/style.js Line 364 in d0543e6
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently,
diffStyles
just ignores changes in metadata properties. In light of smart setStyle, this may betray users' expectations, because after callingMap#setStyle
with style JSON where metadata properties have changed,Map#getStyle()
will currently yield a serialized style with the old metadata properties.The text was updated successfully, but these errors were encountered: