Packages

mapbox-gl

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

Your version

1.4.0

27 Sep 2019Where it was published

1.13.3 is the newest release of 1.x.

In short

6 new10 fixed

Release note

Features

  • Add image expression operator to determine image availability

  • Enable text-offset with variable label placement

Improvements

  • Faster loading and better look of raster terrain

  • Improved code documentation aroud resizing and *RenderedWorldCopies and more (#8748, #8754)

  • Improve single vs. multi-touch zoom & pan interaction

Bug fixes

  • Fix rendering of collisionBox when text-translate or icon-translate is enabled

  • Fix TypeError when reloading a source and immediately removing the map

  • Adding tooltip to the geolocation control button (#8735) (h/t BAByrne)

  • Add originalEvent property to NavigationControl events (#8693) (h/t stepankuzmin)

  • Don't cancel follow mode in the GeolocateControl when resizing the map or rotating the screen

  • Fix error when calling Popup#trackPointer before setting its content or location (#8757) (h/t zxwandrew)

  • Respect newline characters when text-max-width is set to zero

  • Update earcut to v2.2.0 to fix polygon tesselation errors

  • Fix icon-fit with variable label placement

  • Icons stretched with icon-text-fit are now sized correctly

  • Collision detection for icons with icon-text-fit now works correctly