mapbox-gl
3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed
Upgrading mapbox-gl From 1.5.1 to 1.6.0
1 release in betweenevery note read
Release by release
- new
Add ability to insert images into text labels using an
imageexpression within aformatexpression:"text-field": ["format", "Some text", ["image", "my-image"], "some more text"] - new
Add support for stretchable images (aka nine-part or nine-patch images). Stretchable images can be used with
icon-text-fitto draw resized images with unstretched corners and borders. - new
Add
inexpression. It can check if a value is in an array (["in", value, array]) or a substring is in a string (["in", substring, string]) - new
Add
minPitchandmaxPitchmap options
- new