Features and improvements ✨
- Introduce experimental Appearances API for managing layer styling based on feature state.
- Add
MapsetLayerPropertythat combinessetLayoutProperty&setPaintPropertyinto one method for convenience. - Add support for node/material overrides & other improvements to
modelsource and layer. - Various improvements & fixes for upcoming 3D features (indoor, procedural buildings & elevated roads).
- Add response headers to the
sourcedataevent data. - Improve TypeScript types for style specification.
Bug fixes 🐞
- Fix raster particle layer not rendering correctly on styles with emissive light.
- Fix icons of different sizes rendering incorrectly in appearances.
- Fix worldview filtering with dynamic expressions.
- Improve accuracy of
queryRenderedFeaturesfor model layers. - Fix a bug with heatmap sometimes disappearing after switching projection.
- Fix rendering of model layer with vector source on globe projection.
- Fix flickering of fill-extrusion buildings when using clip layers.
- Fix inaccuracies in 3D model query intersection.
- Fix the passing of
GeolocationPositiontogeolocateevent listeners. - Fix the placement of line-aligned text with a non-default
scaleFactor.