mapbox-gl
3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed
0.54.1 is the newest release of 0.17.x.
In short
2 breaking7 new6 fixed
- breaking
Remove
map.batchin favor of automatically batching style mutations (i.e. calls toMap#setLayoutProperty,Map#setPaintProperty,Map#setFilter,Map#setClasses, etc.) and applying them once per frame, significantly improving performance when updating the style frequently #2355 #2380 - breaking
Remove
util.throttle#2345
Release note
Breaking Changes
- breaking
Remove
map.batchin favor of automatically batching style mutations (i.e. calls toMap#setLayoutProperty,Map#setPaintProperty,Map#setFilter,Map#setClasses, etc.) and applying them once per frame, significantly improving performance when updating the style frequently #2355 #2380 - breaking
Remove
util.throttle#2345
New Features & Improvements
Improve performance of all style mutation methods by only recalculating affected properties #2339
Improve fading of labels and icons #2376
Improve rendering performance by reducing work done on the main thread #2394
Validate filters passed to
Map#queryRenderedFeaturesandMap#querySourceFeatures#2349Display a warning if a vector tile's geometry extent is larger than supported #2383
Implement property functions (i.e. data-driven styling) for
circle-colorandcircle-size#1932Add
Popup#setDOMContentmethod #2436
Bugfixes
Fix a performance regression caused by using 1
WebWorkerinstead of# cpus - 1WebWorkers, slowing down tile loading times #2408Fix a bug in which
Map#queryRenderedFeatureswould sometimes return features that had been removed #2353Fix
clusterMaxZoomoption onGeoJSONSourcenot working as expected #2374Fix anti-aliased rendering for pattern fills #2372
Fix exception caused by calling
Map#queryRenderedFeaturesorMap#querySourceFeatureswith no argumentsFix exception caused by calling
Map#setLayoutPropertyfortext-fieldoricon-image#2407