Packages

mapbox-gl

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

Upgrading mapbox-gl From 2.8.1 to 2.15.0

13 releases in betweenevery note read

Other targets from 2.8.1Latest3.34.2
  1. 2.8.1yours
  2. 12 releases
  3. 2.15.0target
0
changes to make
0
advisories fixed
37
new
51
fixes

Release by release

  1. 2.15.0

    25 May 20234 new · 2 fixes
    • new

      Improve performance of symbol layers with identical or no text. Eliminate stuttering when zooming on maps with many identical symbols.

    • new

      Improve performance of clustered sources: 20% faster loading & 40–60% less memory overhead. Improve performance of symbol collisions.

    • new

      Add respectPrefersReducedMotion map option

    • new

      Add the isPointOnSurface map method to determine if the given point is located on a visible map surface.

    • fixed

      Fix inconsistent spacing in the Scale control (#12644) (h/t kathirgounder)

    • fixed

      Fix tiles preloading when a source is not yet loaded

  2. 2.14.1

    14 Apr 20231 fix
    • fixed

      Fix a bug where certain bundling configurations involving Vite or ESBuild could produce a broken build. #12658

  3. 2.14.0

    12 Apr 20232 new · 3 fixes
    • new

      Support referrerPolicy option for the transformRequest function when using fetch (#12590) (h/t robertcepa)

    • new

      Add arrow characters to the map of verticalized character (#12608) (h/t kkokkojeong)

    • fixed

      Enable anisotropic filtering on tiles beyond 20 degrees pitch to prevent it from compromising image crispness on flat or low-tilted maps.

    • fixed

      Fix LngLatBounds.extend() with literal LngLat object.

    • fixed

      Disable panning inertia if prefers-reduced-motion is enabled

  4. 2.13.0

    21 Feb 20234 new · 7 fixes
    • new

      Support draping over terrain and globe in CustomLayer API

    • new

      Improve the rendering performance of terrain slightly by reducing its GPU memory footprint.

    • new

      Add methods for changing a raster tile source dynamically (e.g. setTiles, setUrl).

    • new

      Introduce skirts for terrain globe mode

  5. 2.12.1

    6 Feb 20231 fix
    • fixed

      Fix a rare bug where certain diacritical characters could break the rendering of a symbol layer.

  6. 2.12.0

    4 Jan 20235 new · 5 fixes
    • new

      Improve performance of patterns and line dashes and improve their appearance when zooming.

    • new

      Improve performance of text and icon placement.

    • new

      Improve performance of loading terrain data

    • new

      Allow zooming towards terrain at a safe distance without pitching the camera

  7. 2.11.1

    6 Dec 20221 fix
    • fixed

      Fix support for line breaks in labels that follow line geometries

  8. 2.11.0

    14 Nov 20228 new · 17 fixes
    • new

      Add support for cameraForBounds with globe projection

    • new

      Add support for fitBounds and fitScreenCoordinates with globe projection

    • new

      Improve support for getBounds with globe projection.

    • new

      Improve symbol placement performance with globe projection