✨ Features
- Add ability to insert images into text labels using an
imageexpression within aformatexpression:"text-field": ["format", "Some text", ["image", "my-image"], "some more text"](#8904) - 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. (#8997) - 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]) (#8876) - Add
minPitchandmaxPitchmap options (#8834) - Add
rotation,rotationAlignmentandpitchAlignmentoptions to markers (#8836) (h/t dburnsii) - Add methods to Popup to manipulate container class names (#8759) (h/t Ashot-KR)
- Add configurable inertia settings for panning (h/t @aMoniker) (#8887)
- Add ability to localize mapbox UI controls (#8095) (h/t dmytro-gokun)
- Add LatLngBounds.contains() method (#7512, fixed by #8200)
- Add option to load rtl-text-plugin lazily (#8865)
- Add
essentialparameter to AnimationOptions that can overrideprefers-reduced-motion: reduce(#8743, fixed by )