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
This is my syntax, I set a color property on each feature. Any help and guidance on why this isn't working would be great. I was unable to find documentation on how to use mapbox gl's data drive styles with this react version.
Thanks
The text was updated successfully, but these errors were encountered:
Hey,
I am currently trying to use properties to set feature colors using the following syntax but having issues making styles work with properties.
styles={[{ 'type': 'fill', 'paint': { 'fill-color': ['get', "color"], 'fill-outline-color': "#008BCE", 'fill-opacity': 0.2 } }]}
This is my syntax, I set a color property on each feature. Any help and guidance on why this isn't working would be great. I was unable to find documentation on how to use mapbox gl's data drive styles with this react version.
Thanks
The text was updated successfully, but these errors were encountered: