How is it possible to use dynamic-styles to set individual fill colors for each polygon within the same layer or FeatureCollection? Currently, I'm passing one FeatureCollection object to MapboxGL.ShapeSource, and I do not know how to access the "loop" and set individual style from a feature property. How can I do this?
How is it possible to use dynamic-styles to set individual fill colors for each polygon within the same layer or FeatureCollection? Currently, I'm passing one FeatureCollection object to MapboxGL.ShapeSource, and I do not know how to access the "loop" and set individual style from a feature property. How can I do this?