Packages

mapbox-gl

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

Upgrading mapbox-gl From 2.8.2 to 2.9.0

1 release in betweenevery note read

Other targets from 2.8.2Newest 2.x2.15.0Latest3.34.2
  1. 2.8.2yours
  2. 2.9.0target
0
changes to make
0
advisories fixed
6
new
4
fixes

Release by release

  1. 2.9.0

    17 Jun 20226 new · 4 fixes
    • new

      Add globe projection. This new projection displays the map as a 3d globe and can be enabled by either passing projection: globe to the map constructor or by calling map.setProjection('globe'). All layers are supported by globe except for Custom Layers and Sky.

    • new

      Extend atmospheric fog with three new style specification properties: high-color, space-color and star-intensity to allow the design of atmosphere around the globe and night skies.

    • new

      Add a new line layer paint property in the style specification: line-trim-offset that can be used to create a custom fade out with improved update performance over line-gradient.

    • new

      Add an option for providing a geolocation adapter to GeolocateControl. (#10400) (h/t behnammodi)