maplibre-gl
Advanced tools
Changelog
5.0.0-pre.2
queryRenderedFeatures
by using JavaScript Set
s to assess layer membership internally (#4777)Changelog
4.7.0
map.on
, map.once
and map.off
methods (#4570)maxzoom
is less than or equal to clusterMaxZoom
since in this case you may see unexpected results. (#4604)addSource
and getSource
(#4616)fitBounds
and cameraForBounds
would not display across the 180th meridian (antimeridian)lngRange
. This caused a bug where
using transformCameraUpdate
caused the maxBounds
to stop working just for east/west bounds. (#4625)Changelog
4.6.0
getStyle()
to return a clone so the object cannot be internally changed (#4488)undefined
(#4587))Changelog
4.5.2
Changelog
4.5.1
cooperativeGestures
setting, bringing it in line with other embedded map behaviours, such as Google Maps and Mapbox. (#4465)moveend
(#4458)style.loadURL
abort error being logged when removing style (#4425)Changelog
4.4.0
GeolocateControl
to allow a more granular interaction (#3847)MapOptions.style
optional to be consistent with Map.setStyle(null)
(#4151)aria-label
configurable for Map, Marker and Popup (#4147)<canvas>
is focusable only when interactive (#4147)symbol-placement
is line
or line-center
(#4124)-ms-high-contrast
vendor prefix to (forced-colors: active)
and (prefers-color-scheme: light)
as appropriate (#4250)