3.19.0
Features and improvements ✨
- Promote elevated lines properties to stable:
line-z-offsetandline-elevation-reference. - Add experimental
text-size-scale-rangeandicon-size-scale-rangestyle properties. - Add experimental
Map#setScaleFactor/Map#getScaleFactormethods for controlling symbol layer scaling. - Apply global scale factor to images within
text-field. - Fix z-fighting for elevated raster layers.
- Add
raster-elevation-referencepaint property to elevate raster layers relative to ground instead of sea level. - Add
line-elevation-ground-scalelayout property to scale elevated lines with terrain exaggeration. - Use native async/await when loading models. Note: Please ensure GL JS is excluded from transpilation in your build setup.
- Explicitly state minimum supported browser versions in
browserslist. - Support
pitchanddistanceexpressions in filters. - Support incremental updates when using
setFeatureState. - Add experimental
Map#setNearClipOffset/Map#getNearClipOffsetmethods to control the near clip offset when ortohographic projections are used.
Bug fixes 🐞
- Fix
RasterArrayTileSource#reload()not working correctly. - Add request cancellation support to the
ModelSource. - Fix flickering of aliased thin lines.
- Fix elevated line bevel join artifacts at sharp corners.
- Fix regressions in
NavigationControl. - Fix namespace conflicts in different featuresets' selectors.
- Recalculate layers with
visibility: nonein case properties were changed. - Fix bug in border update logic of
fill-extrusionlayer, overriding clip layer's behaviour. - Fix empty tiles on non-integer maxZoom when terrain was used.
- Fix prototype pollution via Style JSON.