Skip to content

spatial-monorepo


spatial-monorepo / core/src / addWallTopEdgeLayer

Function: addWallTopEdgeLayer()

addWallTopEdgeLayer(map, levelId, wallBands, opts?): void

Defined in: packages/core/src/layers/wall-top-edges.ts:136

Adds the crisp top-edge PathLayer for a level's wall bands via the shared deck.gl overlay. Fire-and-forget — errors are logged, not thrown, matching the existing addFurnitureLayer/AnimatedRoute3D deckgl-bridge call pattern elsewhere in this package.

Parameters

map

Map$1 | null | undefined

levelId

string

wallBands

FeatureCollection`<Polygon, WallBandProperties>\|null\|undefined`

opts?

WallTopEdgeLayerOptions

Returns

void

Released under commercial licensing.