You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... calling map.getStyle() after I make that change still returns the original value. This is the correct behavior because I have not called map.setStyle().
maplibre-gl-js version: 3.0.0 and higher.
browser: all
Steps to Trigger Behavior
map.getStyle()
and assign it to a variable.map.setStyle()
should do that.Link to Demonstration
Open https://jsbin.com/zeyusuf/4/edit?html,output , which is using
[email protected]
. Note that even though I'm modifying the variable like this:... calling
map.getStyle()
after I make that change still returns the original value. This is the correct behavior because I have not calledmap.setStyle()
.Open https://jsbin.com/zeyusuf/6/edit?html,output , which is using
[email protected]
but otherwise the exact some code as above.map.getStyle()
after the variable is changed still returns the original value.map.getStyle()
after the variable is changed does not return the original value ❌.Note
The text was updated successfully, but these errors were encountered: