Packages

mapbox-gl

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

Upgrading mapbox-gl From 2.0.1 to 2.1.0

1 release in betweenevery note read

Other targets from 2.0.1Newest 2.x2.15.0Latest3.34.2
  1. 2.0.1yours
  2. 2.1.0target
0
changes to make
0
advisories fixed
5
new
7
fixes

Release by release

  1. 2.1.0

    4 Feb 20215 new · 7 fixes
    • new

      Added localFontFamily map option that enables local generation of all font glyphs.

    • new

      Introduced high resolution local glyph generation for improved rendering quality of glyphs generated using localIdeographFontFamily or localFontFamily options.

    • new

      Added optimizeForTerrain map option allowing to use terrain in layer draw-order or performance priority mode. This fixes terrain not always preserving layer draw-order during animations by making the behavior explicit.

    • new

      Improved performance by slightly shifting the horizon down, reducing the number of tiles loaded for highly-pitched maps.