Packages

mapbox-gl

3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed

Your version

0.17.0

13 Apr 2016Where it was published

0.54.1 is the newest release of 0.17.x.

In short

2 breaking7 new6 fixed

  • breaking

    Remove map.batch in favor of automatically batching style mutations (i.e. calls to Map#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.batch in favor of automatically batching style mutations (i.e. calls to Map#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#queryRenderedFeatures and Map#querySourceFeatures #2349

  • Display a warning if a vector tile's geometry extent is larger than supported #2383

  • Implement property functions (i.e. data-driven styling) for circle-color and circle-size #1932

  • Add Popup#setDOMContent method #2436

Bugfixes

  • Fix a performance regression caused by using 1 WebWorker instead of # cpus - 1 WebWorkers, slowing down tile loading times #2408

  • Fix a bug in which Map#queryRenderedFeatures would sometimes return features that had been removed #2353

  • Fix clusterMaxZoom option on GeoJSONSource not working as expected #2374

  • Fix anti-aliased rendering for pattern fills #2372

  • Fix exception caused by calling Map#queryRenderedFeatures or Map#querySourceFeatures with no arguments

  • Fix exception caused by calling Map#setLayoutProperty for text-field or icon-image #2407