Documentation / @expofp/floorplan / FloorPlanDirectionEvent
Interface: FloorPlanDirectionEvent
Properties
distance
ts
distance: string;Length with units ("120m"), empty while the route length is still unknown.
from
ts
from: FloorPlanDirectionEndpoint | null;The origin, null while the route has only a destination.
lines
ts
lines: object[];Route polyline segments in walking order — from the origin (from) to the destination (to), each p0 → p1 pointing forward along the route.
Changed in v3.12.0: segments run source→target. Earlier versions emitted them reversed (target→source, with p0/p1 swapped).
p0
ts
p0: Point;p1
ts
p1: Point;time
ts
time: number;to
ts
to: FloorPlanDirectionEndpoint | null;The destination, null while the route has only an origin.
units
ts
units: string;