spatial-monorepo / core/src / buildBuildingShellHeightExpr
Function: buildBuildingShellHeightExpr()
buildBuildingShellHeightExpr(
fullHeightExpr):unknown[]
Defined in: packages/core/src/layers/BuildingExtrusion.ts:65
Builds the zoom-interpolated fill-extrusion-height expression: the building's full height at WALL_GROW_IN_ZOOM_MIN (17), collapsing to 0 at WALL_GROW_IN_ZOOM_MAX (19) — the exact inverse of, and same zoom band as, the indoor wall grow-in (wallExtrusionHeightExpr/buildWallHeightExpr in ./wall-paint.js and IMDFFloorLayer.ts), so the shell finishes melting away exactly as the walls finish growing in.
Parameters
fullHeightExpr
unknown
Returns
unknown[]
