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
The new "smart" setStyle#3621 allows a new way of interacting with Mapbox GL styles. Users should be able to express their style as a function of application state, call 👇 every time the application state changes, and get smooth transitions between styles.
map.setStyle(generateStyle(applicationState))
It'd be great to show how this works with a blog post and/or demo. We may eventually want to update all our examples to prefer this paradigm.
The text was updated successfully, but these errors were encountered:
The new "smart"
setStyle
#3621 allows a new way of interacting with Mapbox GL styles. Users should be able to express their style as a function of application state, call 👇 every time the application state changes, and get smooth transitions between styles.It'd be great to show how this works with a blog post and/or demo. We may eventually want to update all our examples to prefer this paradigm.
The text was updated successfully, but these errors were encountered: