spatial-monorepo / wayfinding/src / BuildInstructionsOptions
Interface: BuildInstructionsOptions
Defined in: packages/wayfinding/src/instructions.ts:32
Properties
minSegmentM?
optionalminSegmentM?:number
Defined in: packages/wayfinding/src/instructions.ts:38
Segments shorter than this (metres) are merged into their neighbour before turn classification, to suppress rasterization noise. Default 1.
slightTurnThresholdDeg?
optionalslightTurnThresholdDeg?:number
Defined in: packages/wayfinding/src/instructions.ts:34
Bearing-delta magnitude (degrees) below which a vertex is not a turn at all — folded into the running instruction. Default 30.
turnThresholdDeg?
optionalturnThresholdDeg?:number
Defined in: packages/wayfinding/src/instructions.ts:36
Bearing-delta magnitude (degrees) above which a turn is a full turn-left/right rather than slight. Default 60.
