Sourced from maplibre-gl's releases.
v6.16.0
✨ Features and improvements
- Allow
Map#setMaxBoundsto constrain one geographic axis without constraining the other (#6148) (by@erenbati)- Allow calling
new Map({ transformStyle: { ... }})to provide a style transformation function similar to the same option insetStyle(#8786) (by@hiddewie)- Add accept headers for MLT according to the current capabilities (#7483) (by
@CommanderStorm)🐞 Bug fixes
- Fix expired vector tiles erroring on their next reload, e.g. after
setFilter(), when the server returns an unchanged ETag (#8771) (by@DoFabien)- Fix
GeoJSONSource.getBoundsthrowing when a feature has anullgeometry (#8814) (by@auraseb)- Fix characters covered by
font-facesswitching to glyphs from the glyphs URL once their PBF range is downloaded (#8490) (by@NEKOYASAN)- Fix the map shrinking to a single stretched pixel for good when it resizes after the WebGL context is lost but before
webglcontextlostfires, e.g. when a mobile browser returns from the background (#8837) (by@lazerg)- Fix
TypeError: Cannot read properties of undefined (reading '0')when drawing a line layer with a constantline-dasharraywhose dash positions were never set (#8846) (by@yulman2207)- Fix
GeoJSONSource.updateDataapplying a queued update to a feature that a later call adds again (#8804) (by@architpai)- Fix images added with
addImage, e.g. fromstyleimagemissing, not showing in tiles that were reloaded after the map was panned across 180° (#8858) (by@birkskyum)- Fix maps that stop loading after iOS shuts down their background workers to save memory (#8461, #8491) (by
@lucaswoj,@ingalls, and@HarelM)- Fix vector tiles past the source's maxzoom failing to load when slicing leaves a one-point line (#8681) (by
@johncarmack1984)- Fix terrain drawing flat at low zoom, where its tiles are at the DEM source's minzoom (#8772) (by
@johncarmack1984)- Fix
queryRenderedFeaturesmissing part of a GeoJSON polygon whose ring does not repeat its first point (#8874) (by@johncarmack1984)
Sourced from maplibre-gl's changelog.
6.16.0
✨ Features and improvements
- Allow
Map#setMaxBoundsto constrain one geographic axis without constraining the other (#6148) (by@erenbati)- Allow calling
new Map({ transformStyle: { ... }})to provide a style transformation function similar to the same option insetStyle(#8786) (by@hiddewie)- Add accept headers for MLT according to the current capabilities (#7483) (by
@CommanderStorm)🐞 Bug fixes
- Fix expired vector tiles erroring on their next reload, e.g. after
setFilter(), when the server returns an unchanged ETag (#8771) (by@DoFabien)- Fix
GeoJSONSource.getBoundsthrowing when a feature has anullgeometry (#8814) (by@auraseb)- Fix characters covered by
font-facesswitching to glyphs from the glyphs URL once their PBF range is downloaded (#8490) (by@NEKOYASAN)- Fix the map shrinking to a single stretched pixel for good when it resizes after the WebGL context is lost but before
webglcontextlostfires, e.g. when a mobile browser returns from the background (#8837) (by@lazerg)- Fix
TypeError: Cannot read properties of undefined (reading '0')when drawing a line layer with a constantline-dasharraywhose dash positions were never set (#8846) (by@yulman2207)- Fix
GeoJSONSource.updateDataapplying a queued update to a feature that a later call adds again (#8804) (by@architpai)- Fix images added with
addImage, e.g. fromstyleimagemissing, not showing in tiles that were reloaded after the map was panned across 180° (#8858) (by@birkskyum)- Fix maps that stop loading after iOS shuts down their background workers to save memory (#8461, #8491) (by
@lucaswoj,@ingalls, and@HarelM)- Fix vector tiles past the source's maxzoom failing to load when slicing leaves a one-point line (#8681) (by
@johncarmack1984)- Fix terrain drawing flat at low zoom, where its tiles are at the DEM source's minzoom (#8772) (by
@johncarmack1984)- Fix
queryRenderedFeaturesmissing part of a GeoJSON polygon whose ring does not repeat its first point (#8874) (by@johncarmack1984)
538a768
Bump js version to 6.16.0 (#8880)2c7bcbd
chore(deps-dev): bump fast-uri (#8878)9337499
chore(deps): bump fast-uri from 3.1.7 to 3.1.9 (#8877)23d35d9
fix: queryRenderedFeatures missing part of a GeoJSON
polygon whose ring doe...33a2370
fix: keep terrain relief at low zoom, where its tiles are at the DEM
source's...23e0937
fix: images added with addImage missing from tiles reloaded
after panning a...393b6e9
CSC-1.8 Read the camera state directly in the projection classes (#8870)fc72711
fix: keep two points when clipping a line that ends on the slice's edge
(#8869)da14df8
CSC-1.7 Pass the tile zoom to the terrain elevation lookups instead of
the tr...3ea36bb
CSC-1.6 Split the camera calculations from the writes in the projection
class...