spatial-monorepo / core/src / RouteOptions
Interface: RouteOptions
Defined in: packages/core/src/layers/WayfindingLayer.ts:38
Extended by
Properties
accessible?
optionalaccessible?:boolean
Defined in: packages/core/src/layers/WayfindingLayer.ts:52
When true, renders the route in the accessible color (#2563eb blue) and a wider stroke to visually distinguish wheelchair-friendly routes. Overrides color if both are provided.
color?
optionalcolor?:string
Defined in: packages/core/src/layers/WayfindingLayer.ts:39
destinations?
optionaldestinations?:RouteWaypoint[]
Defined in: packages/core/src/layers/WayfindingLayer.ts:46
Multi-destination mode — ordered list of destination waypoints (2–10). When provided, waypoint markers are rendered at each stop's actual coordinates, in the given order.
style?
optionalstyle?:NavigationRouteStyle
Defined in: packages/core/src/layers/WayfindingLayer.ts:61
Visual style for the route line.
flat(default): solid linetapered: line-gradient fades from full-opacity to transparent toward destinationanimated-flow: dashed line pattern suggesting directional movementmarching-dots: round-capped dots that flow along the path (issue #471, Haltian Empathic Building reference) — cheap, legible on kiosk displays
width?
optionalwidth?:number
Defined in: packages/core/src/layers/WayfindingLayer.ts:40
