Features ✨ and improvements 🏁
- Enable preloading tiles for camera animation. (#11328)
- Improve quality of transparent line layers by removing overlapping geometry artifacts. (#11082). Note: removing that feature can be done by using the line color alpha channel, e.g.
line-color: "rgba(r, g, b, 0.5)"
instead ofline-opacity
. - Add perspective correction for non-rectangular image, canvas and video sources. (#11292)
- Improve performance of default markers. (#11321)
- Add marker methods
setSnapToPixel
andgetSnapToPixel
to indicate rounding a marker to pixel. (#11167) (h/t malekeym) - Add a default
aria-label
for interactive markers for improved user accessibility. (#11349) - Add support for sparse tile sets to DEM data sources, when served tiles don't go up to the full
maxzoom
. (#11276) - Allow users to set order of custom attribution. (#11196)
- Add function call chaining to function
map.setProjection
(#11279) (h/t lpizzinidev)
🐞 Bug fixes
- Fix canvas size to evaluate to expected value when applying the CSS transform property. (#11310)
- Fix
getBounds
sometimes returning invalidLngLat
when zooming on a map with terrain. (#11339) (h/t @ted-piotrowski) - Fix rendering of denormalized strings with diacritics. (#11269)
- Remove redundant title attribute from
Improve this Map
attribution element. (#11360) - Fix a rare terrain flickering issue when using terrain with multiple vector data sources. (#11346)