Packages

mapbox-gl

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

Your version

0.43.0

21 Dec 2017Where it was published

0.54.1 is the newest release of 0.43.x.

In short

3 breaking13 new12 fixed

  • breaking

    It is now an error to attempt to remove a source that is in use #5562

  • breaking

    It is now an error if the layer specified by the before parameter to moveLayer does not exist #5679

  • breaking

    "colorSpace": "hcl" now uses shortest-path interpolation for hue #5811

Release note

Breaking changes

  • breaking

    It is now an error to attempt to remove a source that is in use #5562

  • breaking

    It is now an error if the layer specified by the before parameter to moveLayer does not exist #5679

  • breaking

    "colorSpace": "hcl" now uses shortest-path interpolation for hue #5811

Features and improvements

  • Introduce client-side hillshading with raster-dem source type and hillshade layer type #5286

  • GeoJSON sources take 2x less memory and generate tiles 20%–100% faster #5799

  • Enable data-driven values for text-font #5698

  • Enable data-driven values for heatmap-radius #5898

  • Add getter and setter for offset on marker #5759

  • Add Map#hasImage #5775

  • Improve typing for == and != expressions #5840

  • Made coalesce expressions more useful #5755

  • Enable implicit type assertions for array types #5738

  • Improve hash control precision #5767

  • supported() now returns false on old IE 11 versions that don't support Web Worker blob URLs #5801

  • Remove flow globals TileJSON and Transferable #5668

  • Improve performance of image, video, and canvas sources #5845

Bug fixes

  • Fix popups and markers lag during pan animation #4670

  • Fix fading of symbol layers caused by setData #5716

  • Fix behavior of to-rgba and rgba expressions #5778, #5866

  • Fix cross-fading of *-pattern and line-dasharray #5791

  • Fix colorSpace function property #5843

  • Fix style diffing when changing GeoJSON source properties #5731

  • Fix missing labels when zooming out from overzoomed tile #5827

  • Fix missing labels when zooming out and quickly using setData #5837

  • Handle NaN as input to step and interpolate expressions #5757

  • Clone property values on input and output #5806

  • Bump geojson-rewind dependency #5769

  • Allow setting Marker's popup before LngLat #5893