For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Type Alias MarkerCollisionEventData

Payload of the markeroverlap / markerproximity events.

Emitted on state change only: a marker fires when counterparts enter or exit collision with it, never for collisions that persist unchanged between passes.

type MarkerCollisionEventData = {
    current: Marker[];
    entered: Marker[];
    exited: Marker[];
    kind: MarkerCollisionKind;
}
Index

Properties

current: Marker[]

All markers currently colliding with this marker.

entered: Marker[]

Markers that started colliding with this marker in this pass.

exited: Marker[]

Markers that stopped colliding with this marker in this pass (may already be removed from the map).

Was this helpful?