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
Declutter images and text. Decluttering is applied to all image and text styles of all Vector and VectorTile layers that have set this to true. The priority is defined by the z-index of the layer, the zIndex of the style and the render order of features. Higher z-index means higher priority. Within the same z-index, a feature rendered before another has higher priority.
As an optimization decluttered features from layers with the same className are rendered above the fill and stroke styles of all of those layers regardless of z-index. To opt out of this behavior and place declutterd features with their own layer configure the layer with a className other than ol-layer.
It's probably worth also mentioning this in terms of the mapbox-gl-js spec. Maybe there could be a "where we diverge from spec/maplibre-gl/mapbox-gl" as a part of #10
Rendering of
fill
layers abovesymbol
layers doesn't appear to work correctly.maplibre
ol-mapbox-style latest SHA
bd5fe28b82071ad1da8e5996f5bd491c2aa1156b
Example
style.json
The text was updated successfully, but these errors were encountered: