feat: add RotationSignal for reactive marker rotation #14

Merged
ryan merged 1 commits from worktree-custom-markers into main 2026-02-20 21:16:40 +00:00
Owner

Add RotationSignal field to Marker so rotation updates reactively via signals, matching LngSignal/LatSignal. The effect expression now calls setRotation() when present.

Fix ship orientation in the example by subtracting 90° from the north-based heading to account for the east-facing SVG bow.

Add `RotationSignal` field to `Marker` so rotation updates reactively via signals, matching `LngSignal`/`LatSignal`. The effect expression now calls `setRotation()` when present. Fix ship orientation in the example by subtracting 90° from the north-based heading to account for the east-facing SVG bow.
ryan added 1 commit 2026-02-20 21:15:22 +00:00
feat: add RotationSignal for reactive marker rotation
All checks were successful
CI / Build and Test (push) Successful in 36s
CI / Build and Test (pull_request) Successful in 35s
f0a471a150
Add RotationSignal field to Marker so rotation updates reactively via
signals, matching LngSignal/LatSignal. The markerEffectExpr now calls
setRotation() when RotationSignal is present.

Fix ship orientation in the example by subtracting 90 degrees from the
north-based heading to account for the east-facing SVG bow.
ryan merged commit ae32da77df into main 2026-02-20 21:16:40 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ryan/via#14