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
I'd like for more properties to support feature-state, like icon-image to be able to simulate a selection, updating image consequently and avoid duplicating layers with just a styling difference.
Would be fantastic build something like: 'icon-image': ['case', ['boolean', ['feature-state', 'selected'], false], 'my-selected-image', 'my-image'],
Benefits
data driven styling
less layers needed
cleaner for user
The text was updated successfully, but these errors were encountered:
User Story
I'd like for more properties to support feature-state, like icon-image to be able to simulate a selection, updating image consequently and avoid duplicating layers with just a styling difference.
Would be fantastic build something like:
'icon-image': ['case', ['boolean', ['feature-state', 'selected'], false], 'my-selected-image', 'my-image'],
Benefits
The text was updated successfully, but these errors were encountered: