Skip to content

spatial-monorepo


spatial-monorepo / core/src / wallExtrusionHeightExpr

Variable: wallExtrusionHeightExpr

const wallExtrusionHeightExpr: unknown[]

Defined in: packages/core/src/layers/IMDFFloorLayer.ts:44

Issue #474 — Same zoom-driven grow-in as floorExtrusionHeightExpr, keyed off wall_height (the property generateWallBands writes on every wall-band feature — see layers/wall-bands.ts) instead of height. Walls grow from 0 to their full, pre-clamped height as the user zooms from 17 into indoor view at 19, mirroring the existing floor-extrusion grow-in.

Issue #480 — Now derived from the shared buildWallHeightExpr() helper (./wall-paint.js), also consumed by the editor's wall-extrusion layer, so both wall layers grow in identically. Shape unchanged: ['interpolate', ['linear'], ['zoom'], 17, 0, 19, ['get', 'wall_height']]

Released under commercial licensing.