Skip to content

spatial-monorepo


spatial-monorepo / core/src / NavigationDrawOptions

Interface: NavigationDrawOptions

Defined in: packages/core/src/wayfinding/Navigation.ts:37

Properties

accessible?

optional accessible?: boolean

Defined in: packages/core/src/wayfinding/Navigation.ts:40


alternates?

optional alternates?: NavigationRoute[]

Defined in: packages/core/src/wayfinding/Navigation.ts:52

Precomputed alternate routes (issue #471 AC4) — e.g. k routes obtained by re-running getDirections with the active route's door/portal sequence excluded (excludedConnectionIds). route (the first argument to draw()) is always index 0; alternates[i] is selectable via setActivePathByIndex(i + 1).


color?

optional color?: string

Defined in: packages/core/src/wayfinding/Navigation.ts:38


markers?

optional markers?: boolean

Defined in: packages/core/src/wayfinding/Navigation.ts:44

Render departure/destination markers. Defaults to true.


style?

optional style?: NavigationRouteStyle

Defined in: packages/core/src/wayfinding/Navigation.ts:42

Visual style for the route line — see RouteStyle (WayfindingLayer). Includes marching-dots.


width?

optional width?: number

Defined in: packages/core/src/wayfinding/Navigation.ts:39

Released under commercial licensing.