Performance improvements 🏁
- Improve memory usage by freeing memory more eagerly after loading tiles. (#11434)
- Improve memory usage by reducing repeated line labels on overscaled tiles. (#11414)
- Improve performance when placing many symbols on terrain. (#11466)
Bug fixes 🐞
- Fix
map.fitBounds()
,map.fitScreenCoordinates()
, andmap.cameraForBounds()
incorrectly matching bounds with non-zero bearing. (#11568) (h/t TannerPerrien) - Improve control button appearance by applying
border-radius
more consistently. (#11423) (h/t nagix) - Fix
ScaleControl
displaying incorrect units with some projections.(#11657) - Fix performance regression when animating image sources. (#11564)
- Fix
MapDataEvent.isSourceLoaded()
to check if specific source has loaded. (#11393) - Fix map not wrapping after moving the map with no inertia. (#11448)
- Fix popup not removing event listeners when
closeOnClick:true
. (#11540) - Fix camera occasionally intersecting terrain when DEM data loads while zooming. (#11461, #11578)
- Increase clarity of line layers with the terrain on high DPI devices. (#11531)
- Fix canvas size if more than one parent container has a transform CSS property. (#11493)
- Fix error on calling
map.removeImage()
on animated image. (#11580) - Fix occasional issue with
fill-extrusion
layers not rendering on tile borders when used with terrain. (#11530)
Workflow 🛠️
- Upgrade Flow from
v0.108.0
tov0.142.0
and enable type-first mode, greatly improving performance of type-checking. (#11426)