Releases: maplibre/maplibre-gl-js
v5.10.0
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.9.0:
✨ Features and improvements
- Add time control API (
setNow,restoreNow,isTimeFrozen) for deterministic rendering, enabling frame-by-frame video export and deterministic testing (6544) - Use styles
isHiddenlogic in the worker by adding a new optionalroundMinZoomparameter (#6547) - Add
transformConstraincallback to theMapoptions to override the transform'sconstrainwith new typeTransformConstrainFunction; refactor transform constructor options to aTransformOptionsobject (#6484) - Use timeControl.now() instead of browser.now() (6573)
🐞 Bug fixes
- Contextmenu events not blocked by scrolling (#5683
- Mousemove events are not blocked by scrolling (#6302)
- Dashed lines have blurry rounded caps (#6554)
- Preserve flyTo padding when prefers-reduced-motion is enabled (#6576)
- Fix setClusterOptions not triggering recluster when no data changes are pending (#6603)
v5.9.0
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.8.0:
✨ Features and improvements
- Improve fading - dynamic bi-directional raster cross-fading and self fading (#6469)
- Support for usage of line-gradient together with line-dasharray (#6487)
🐞 Bug fixes
v5.8.0
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.7.3:
✨ Features and improvements
- Enable documentation admonitions in Material for MkDocs. (#6455)
- Switch MapEventType from type to interface to allow declaration merging (#6436)
- Implement data-driven styling support for
line-dasharray(#5812)
🐞 Bug fixes
- Fix raster flickering when using terrain 3D and optimize terrain logic.
- Fix issue where parent tiles are retained when deeper descendant tiles already cover the missing ideal tile. (#6442)
- Fix an issue when GeolocateControl fires outofmaxbounds event with trackUserLocation disabled (#6464)
- Fix an issue with globe+terrain "zooming" in when dragging towards the poles (#6470)
- Fix integer overflow in symbol placement (#6476)
v5.7.3
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.7.2:
✨ Features and improvements
🐞 Bug fixes
v5.7.2
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.7.1:
🐞 Bug fixes
- Fix
_updateRetainedTileschecking for children when children length is 1 overscaled tile "child" (#6388) - Fix evaluating
global-statefor layers added after loading style (#6361) - Change the pathway for passing
global-stateobject fromStyleto expression to fix a hack that was introduced in previous versions (#6366) - Fix triggering
loadandidleevents when source TileJSON fails to load (#5430) - Fix mouse events on heatmap features (#714)
v5.7.1
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.7.0:
🐞 Bug fixes
- Fix accuracy circle on locate user control (#5432)
- Fix evaluating
global-statein paint...-patternproperties (6301) - Fix pan moving in the wrong direction when map is pitched (#6111)
- Fix evaluation of
text-colorwhen usingformatwithinstep(#5833) - Fix regression in
mergeSourceDiffs: handle add/remove/removeAll (#6342) - Fix evaluating
global-statein layout propertiesicon-sizeandtext-size(#6308)
v5.7.0
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.6.2:
✨ Features and improvements
- Pass document's
langto Tiny-SDF to render Simplified and Traditional Chinese characters (#6223) - Enable
global-stateexpressions in layout properties (#6209) - Align typescript types generation with docs generation and avoid exporting non-exported types (#6217)
- Add
coveringTilesmethod to the public API of the map object (#6292)
🐞 Bug fixes
v5.6.2
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.6.1:
🐞 Bug fixes
- Fix white artifacts when using non-zero elevation (#6032)
- Fix geolocate control lock loss on window resize and zoom (#3504)
- Fix a memory leak in
GeoJSONSourcewhen rapidly updating data (#6163) - Fix
Map.setTransformRequestparameter type to includenull(#6179) - Fix typo
_rotatePitchHandlerin thenavigation_control.tsfile (#6207)
v5.6.1
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.6.0:
🐞 Bug fixes
v5.6.0
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.5.0:
✨ Features and improvements
- Add
setGlobalStateProperty()andgetGlobalState()to the map public API (#5613) - Improve tile frustum culling for globe, leading to better performance and faster loading times. (#5865)
- Add new
color-relieflayer type to render hypsometric tint from terrain-RGB tiles. (#5742)
🐞 Bug fixes
- Fix
queryRenderedFeaturesbounding box crossing antimeridian in globe view. (#5856) - Fix handling invalid glyph placement results along lines (#5118)
- Fix
refreshTiles()for vector tiles (#5875) - Revert changes to polygon intersection detection (#5590 caused issue 5864)
- Fix breaking clusters when non-integer value provided for
clusterMaxZoom(warning is shown) (#5929) + clarify API docs