spatial-monorepo / wayfinding/src / enrichInstructionsWithLandmarks
Function: enrichInstructionsWithLandmarks()
enrichInstructionsWithLandmarks(
archive,levelId,instructions,radiusM?):Instruction[]
Defined in: packages/wayfinding/src/landmarks.ts:118
Enriches turn instructions with landmarkName (issue #485). Returns a new array — instructions that are not a turn action, or that carry no coordinate, or for which no named landmark falls within radiusM, are returned unchanged (AC2: never a placeholder/empty landmark string).
Parameters
archive
levelId
string
instructions
radiusM?
number = DEFAULT_LANDMARK_RADIUS_M
