Packages

mapbox-gl

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

Your version

0.33.0

8 Mar 2017Where it was published

0.54.1 is the newest release of 0.33.x.

In short

3 breaking1 deprecated4 new13 fixed1 changed

  • breaking

    Automatically add Mapbox wordmark when required by Mapbox TOS #3933

  • breaking

    Increase default maxZoom from 20 to 22 #4333

  • breaking

    mapboxgl.util is no longer exported. #4241

  • deprecated

    Deprecate tiledata and tiledataloading events in favor of sourcedata and sourcedataloading. #4347

Release note

Breaking changes

  • breaking

    Automatically add Mapbox wordmark when required by Mapbox TOS #3933

  • breaking

    Increase default maxZoom from 20 to 22 #4333

  • deprecated

    Deprecate tiledata and tiledataloading events in favor of sourcedata and sourcedataloading. #4347

  • breaking

    mapboxgl.util is no longer exported. #4241

New features

  • Add property functions support for most symbol paint properties #4074, #4186, #4226

  • Add ability to specify default property value for undefined or invalid property values used in property functions. #4175

  • Improve Map#fitBounds to accept different values for top, bottom, left, and right padding #3890

  • Add a FullscreenControl for displaying a fullscreen map #3977

Bug fixes

  • Fix validation error on categorical zoom-and-property functions #4220

  • Fix bug causing expired resources to be re-requested causing an infinite loop #4255

  • Fix problem where MapDataEvent#isSourceLoaded always returned false #4254

  • Fix an issue where tiles in the source cache were prematurely deleted, resulting in tiles flickering when zooming in and out #4311

  • Make sure MapEventData is passed through on calls Map#flyTo #4342

  • Fix incorrect returned values for Map#isMoving #4350

  • Fix categorical functions not allowing boolean stop domain values #4195

  • Fix piecewise-constant functions to allow non-integer zoom levels. #4196

  • Fix issues with $id in filters #4236 #4237

  • Fix a race condition with polygon centroid algorithm causing tiles not to load in some cases. #4273

  • Throw a meaningful error when giving non-array layers parameter to queryRenderedFeatures #4331

  • Throw a meaningful error when supplying invalid minZoom and maxZoom values #4324

  • Fix a memory leak when using the RTL Text plugin #4248

Dev workflow changes