✨ 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 @Willjfield and @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)