Sourced from maplibre-gl's releases.
v5.22.0
✨ Features and improvements
- Make
line-cap,line-miter-limit, andline-round-limitdata-driven properties, allowing per-feature values (#7351) (by@CommanderStorm)- GPU performance optimization: early culling of transparent symbols in vertex shaders (#7364) (by
@xavierjs)- Add example showing how to measure map performance using built-in events (
load,idle,render) (#7077) (by@CommanderStorm)- UX: Clarify error message language so if layout and paint properties are confused in
setPaintPropertyorsetLayoutProperty(#6954) (by@Willjfieldand@CommanderStorm)🐞 Bug fixes
- Fix startup crash caused by a stale async style load completing after the style was cleared or replaced (#7377)
- Make
fitBoundsandfitScreenCoordinatesrespect thezoomSnapmap option by snapping the zoom level down to keep bounds fully visible (#7332 (by@CommanderStorm)- Make
jumpTo,easeTo, andflyTorespect thezoomSnapmap option by snapping the zoom level to the nearest valid increment (#7333 (by@CommanderStorm)- Fix
setStatecrash when switching styles while globe projection is active (#7314) (by@ashwinuae)- Prevent crashes when calling
map.remove()immediately after creation by canceling in-flight style URL loads (#7368) (by@CommanderStorm)- Fixed symbol collision flickering by adding tolerance to GridIndex AABB comparison (#7360) (by
@kkokkoejong)- Fix
fitBoundsignoringmaxZoomoption invertical-perspectiveprojection (#7372) (by@CommanderStorm)- Prevent stale async style loads from completing after style clear (#7378) (by
@Lievesley)- Fix broken example for
fill-pattern(#7326) (by@k-yle)
Sourced from maplibre-gl's changelog.
5.22.0
✨ Features and improvements
- Make
line-cap,line-miter-limit, andline-round-limitdata-driven properties, allowing per-feature values (#7351) (by@CommanderStorm)- GPU performance optimization: early culling of transparent symbols in vertex shaders (#7364) (by
@xavierjs)- Add example showing how to measure map performance using built-in events (
load,idle,render) (#7077) (by@CommanderStorm)- UX: Clarify error message language so if layout and paint properties are confused in
setPaintPropertyorsetLayoutProperty(#6954) (by@Willjfieldand@CommanderStorm)🐞 Bug fixes
- Fix startup crash caused by a stale async style load completing after the style was cleared or replaced (#7377)
- Make
fitBoundsandfitScreenCoordinatesrespect thezoomSnapmap option by snapping the zoom level down to keep bounds fully visible (#7332 (by@CommanderStorm)- Make
jumpTo,easeTo, andflyTorespect thezoomSnapmap option by snapping the zoom level to the nearest valid increment (#7333 (by@CommanderStorm)- Fix
setStatecrash when switching styles while globe projection is active (#7314) (by@ashwinuae)- Prevent crashes when calling
map.remove()immediately after creation by canceling in-flight style URL loads (#7368) (by@CommanderStorm)- Fixed symbol collision flickering by adding tolerance to GridIndex AABB comparison (#7360) (by
@kkokkoejong)- Fix
fitBoundsignoringmaxZoomoption invertical-perspectiveprojection (#7372) (by@CommanderStorm)- Prevent stale async style loads from completing after style clear (#7378) (by
@Lievesley)- Fix broken example for
fill-pattern(#7326) (by@k-yle)
48caed8
Bump js version to 5.22.0 (#7391)c3da266
increase the linking (#7393)d74e957
fix: add and remove a map right after the other (#7368)de06a24
chore(deps): bump @maplibre/maplibre-gl-style-spec from
24.7.0 to 24.8.1 (#7388)fb151e4
feat: Clarify error message language so if layout and paint properties
are co...7951eec
feat(line): implement data driven styling for
`line-{cap,round-limit,miter-li...914cde4
chore(deps-dev): bump typescript from 5.9.3 to 6.0.2 (#7357)a84c293
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#7389)931199b
chore(deps-dev): bump cssnano from 7.1.3 to 7.1.4 (#7387)44c25c1
chore(deps-dev): bump canvas from 3.2.2 to 3.2.3 (#7386)