mapbox-gl
3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed
Upgrading mapbox-gl From 0.8.2 to 0.9.0
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 2
- new
- 0
- fixes
Release by release
- new
Expose
geojson-vtoptions for GeoJSON sources - new
New feature: Batch operations can now be done at once, improving performance for calling multiple style functions:
- new
14 other lines we could not sort, mostly version bumps
- 0.9.0
glyphsURL now normalizes without the/v4/prefix formapbox://urls. Legacy behavior formapbox://fontstacksis still maintained - 0.9.0
Bearing snaps to "North" within a tolerance of 7 degrees
- 0.9.0
Now you can directly mutate the minzoom and maxzoom layer properties with
map.setLayerZoomRange(layerId, minzoom, maxzoom) - 0.9.0
Exposed
mapboxgl.Control, a base class used by all UI controls - 0.9.0
Refactored handlers to be individually included in Map options, or enable/disable them individually at runtime, e.g.
map.scrollZoom.disable(). - 0.9.0
Improved documentation
- 0.9.0
featuresAtperformance improvements by exposingincludeGeometryoption - 0.9.0
Better label placement along lines
- 0.9.0
Improvements to round linejoins on semi-transparent lines (mapbox/mapbox-gl-native#1771)
- 0.9.0
Round zoom levels for raster tile loading (2a2aec)