Packages

mapbox-gl

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

Your version

0.44.0

25 Jan 2018Where it was published

0.54.1 is the newest release of 0.44.x.

In short

1 breaking7 new14 fixed

  • breaking

    Due to bug fixes #6005 and #6029, DragPanHandler, DragRotateHandler, and ScrollZoomHandler now fire map movement events (move, rotate, zoom, pitch) only once per render frame, rather than once per mouse/touch event. (See also issue #6047.)

Release note

Breaking changes

  • breaking

    Due to bug fixes #6005 and #6029, DragPanHandler, DragRotateHandler, and ScrollZoomHandler now fire map movement events (move, rotate, zoom, pitch) only once per render frame, rather than once per mouse/touch event. (See also issue #6047.)

Features and improvements

  • The CSP policy of a page using mapbox-gl-js no longer needs to include script-src 'unsafe-eval' #559

  • Add LngLatBounds#isEmpty() method #5917

  • Coalesce GeoJSON "loadData" requests. This prevents high-frequency calls to setData from building up a backlog. #5902

  • Updated to flow 0.62.0 #5923

  • Make compass and zoom controls optional (#5348) (h/t @matijs)

  • Add collectResourceTiming option to the enable collection of Resource Timing data for requests that are made from Web Workers.

  • Improve user location dot appearance across browsers (#5498) (h/t @jasonbarry)

Bug fixes

  • Fix error triggered by == and != expressions #5947

  • Image sources honor renderWorldCopies #5932

  • Fix transitions to default fill-outline-color #5953

  • Fix transitions for light properties #5982

  • Fix minor symbol collisions on pitched maps #5913

  • Fix memory leaks after Map#remove() #5943, #5951

  • Fix bug wherein GeoJSONSource#setData() caused labels to fade out and back in

  • Fix bug that could cause incorrect collisions for labels placed very near to each other at low zoom levels

  • Fix bug causing move events to be fired out of sync with actual map movements

  • Fix bug wherein Map did not fire mouseover events (#6000] (h/t @jay-manday)

  • Fix bug causing blurry rendering of raster tiles

  • Fix potential memory leak caused by removing layers

  • Fix bug causing attribution icon to appear incorrectly in compact maps not using Mapbox data

  • Fix positioning of default marker element (#6012) (h/t @andrewharvey)