Repository navigation
v2.2.2
Changed
<Layer pulse>(breaking) — redesigned from a continuous per-framerequestAnimationFrame
loop to a periodic reset/ramp/hold "ping" driven by Mapbox's own paint-property transition.
setPaintPropertyis now called twice per cycle per entry instead of ~90 times/sec, and — more
importantly — the map now reaches'idle'/map.loaded()during each cycle's hold phase; the old
per-frame loop kept the map permanently "dirty" for as long as it was mounted, which silently
starved anything waiting on that state (@mapbox/mapbox-gl-draw's own layer-mounting logic, and
this library's owncaptureWhenSettled()/waitUntilSettled()).PulseConfig'sproperty/
from/toare now required (no more defaults biased toward a symbol layer'sicon-halo-width—
seedocs/COMPONENTS.md'sLayersection for why);waveformis removed (only the'out'
"ping" shape remains, the one thing actually used in practice —'in-out''s continuous
back-and-forth had no hold phase and could never let the map idle); a newholdFraction(default
0.25) replaces the old hardcoded ramp/hold split.colors.ts'stoRgbaComponents(only ever
used by the old per-frame color lerp) is removed.
Full Changelog: v2.2.1...v2.2.2
🤖 Generated with Claude Code