Packages

mapbox-gl

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

Upgrading mapbox-gl From 2.12.0 to 2.15.0

5 releases in betweenevery note read

Other targets from 2.12.0Latest3.34.2
0
changes to make
0
advisories fixed
10
new
14
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.