mapbox-gl
3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed
Upgrading mapbox-gl From 0.39.1 to 0.40.0
1 release in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 10
- new
- 18
- fixes
Before you upgrade
Tick each one off as you go- breaking0.40.0
- breaking0.40.0
Release by release
- breaking
Map#addImagenow requires the image as anHTMLImageElement,ImageData, or object withwidth,height, anddataproperties with the same format asImageData. It no longer accepts a rawArrayBufferViewin the second argument andwidthandheightoptions in the third argument. - breaking
canvassources now require acontextTypeoption specifying the drawing context associated with the source canvas. #5155 - new
Correct rendering for multiple
fill-extrusionlayers on the same map #5101 - new
Add an
icon-anchorproperty to symbol layers #5183
- breaking