Releases
v0.42.0
⚠️ Breaking changes
Require that heatmap-color
use expressions instead of stop functions #5624
Remove support for validating and migrating v6 styles
Remove support for validating v7 styles #5604
Remove support for including {tokens}
in expressions for text-field
and icon-image
#5599
Split curve
expression into step
and interpolate
expressions #5542
Disallow interpolation in expressions for line-dasharray
#5519
Map#getLight
no longer returns default values; it only returns values explicitly set in the style or at runtime #5682
✨ Features and improvements
Improve label collision detection #5150
Labels from different sources will now collide with each other
Collisions caused by rotation and pitch are now smoothly transitioned with a fade
Improved algorithm for fewer erroneous collisions, denser label placement, and greater label stability during rotation
Add sqrt
expression #5493
🐛 Bug fixes and error reporting improvements
Fix viewport calculations for fitBounds
when both zooming and padding change #4846
Fix WebGL "range out of bounds for buffer" error caused by sorted symbol layers #5620
Fix symbol fading across tile reloads #5491
Change tile rendering order to better match GL Native #5601
Ensure no errors are triggered when calling queryRenderedFeatures
on a heatmap layer #5594
Fix bug causing queryRenderedSymbols
to return results from different sources #5554
Fix CJK rendering issues #5544 , #5546
Account for circle-stroke-width
in queryRenderedFeatures
#5514
Fix rendering of fill layers atop raster layers #5513
Fix rendering of circle layers with a circle-stroke-opacity
of 0 #5496
Fix memory leak caused by actor callbacks #5443
Fix source cache size for raster sources with tile sizes other than 512px #4313
Validate that zoom expressions only appear at the top level of an expression #5609
Validate that step and interpolate expressions don't have any duplicate stops #5605
Fix rendering for icon-text-fit
with a data-driven text-size
#5632
Improve validation to catch uses of deprecated function syntax #5667
Permit altitude coordinates in position
field in GeoJSON #5608
You can’t perform that action at this time.