Features and improvements ✨
- Add support for
text-rotate,text-size, andtext-offsetproperties in appearances. - Add
shadow-draw-before-layerproperty to directional light, allowing control over shadow draw order in the layer stack. - Add
model-allow-density-reductionproperty to model layers. (h/t @JoshuaJMoore)
Bug fixes 🐞
- Fix an error when querying multipolygons in
dynamic: truemode. - Fix
AttributionControllinks sanitization. - Fix appearances with no
icon-sizeusing the default value instead of the layout-defined one. - Fix updates to model source via
ModelSource.setModelswhile models are still loading. - Fix polygon clipping precision errors causing rendering artifacts in elevated structures.
- Preserve featuresets in
map.getStyle()output. - Expose TypeScript types from
@mapbox/mapbox-gl-style-specfor direct imports.