maplibre-gl
Advanced tools
Changelog
3.0.0-pre.6
Changelog
3.0.0-pre.5
resize
event from the browser. Now it is ResizeObserverEntry
, see more here.LngLat.toBounds()
is replaced by a static method LngLatBounds.fromLngLat()
(#2188)unknown
(#2243)warnonce
when terrain and hillshade source are the same (#2298)hsl
css color in a format that does not comply with the CSS Color specification. Colors defined in hsl(110, 0.7, 0.055)
format will no longer work, instead it is recommended to use the format with percentages hsl(110, 70%, 5.5%)
. (#2376)features
property on MapLayerMouseEvent
and MapLayerTouchEvent
to be MapGeoJSONFeature[]
in lieu of GeoJSON.Feature[]
(#2244)setStyle(style, {diff:true})
(#2146)getTerrain
when fitBounds
across the AM (#2155)toArray
method return type to [number,number] (#2233)window.navigator.geolocation
(#2359)Changelog
3.0.0-pre.4
setiClusterOptions
to update cluster properties of the added sources: fixing these issues (#429) and (#1384)workerOptions
and _options
in geojson_source.ts
Changelog
3.0.0-pre.2
QueryRenderedFeaturesOptions
type added to both of the params in queryRenderedFeatures in map.ts (#1900)cooperativeGestures
overlay is always "on top" (z-index) of map features (#1753)willReadFrequently
hint to optimize 2D canvas usage and remove warnings (#1808)@rollup/plugin-json
, which was in conflict with rollup-plugin-import-assert
@mapbox/gazetteer
which caused some build warnings (#1757 #1898)getElevation()
causing uncaught error (#1650).map.setStyle
when it is passed with transformStyle option and map is initialized without an initial style. (#1824)Changelog
3.0.0-pre.0
freezeElevation
to AnimationOptions
to allow smooth camera movement in 3D (#1514, #1492)mapboxgl-
css classes (#1575)