diff --git a/src/core/engines/Cesium/Feature/Polygon/index.tsx b/src/core/engines/Cesium/Feature/Polygon/index.tsx index e8807a17c1..f3a8b4a6a3 100644 --- a/src/core/engines/Cesium/Feature/Polygon/index.tsx +++ b/src/core/engines/Cesium/Feature/Polygon/index.tsx @@ -42,6 +42,7 @@ export default function Polygon({ id, isVisible, property, geometry, layer, feat strokeWidth = 1, heightReference: hr, shadows, + extrudedHeight, } = property ?? {}; const hierarchy = useCustomCompareMemo( @@ -80,6 +81,7 @@ export default function Polygon({ id, isVisible, property, geometry, layer, feat outlineWidth={strokeWidth} heightReference={heightReference(hr)} shadows={shadowMode(shadows)} + extrudedHeight={extrudedHeight} distanceDisplayCondition={distanceDisplayCondition} /> diff --git a/src/core/engines/Cesium/Feature/Resource/utils.ts b/src/core/engines/Cesium/Feature/Resource/utils.ts index f29126376e..31b1803b8a 100644 --- a/src/core/engines/Cesium/Feature/Resource/utils.ts +++ b/src/core/engines/Cesium/Feature/Resource/utils.ts @@ -239,6 +239,9 @@ export const attachStyle = ( name: "heightReference", type: "heightReference", }, + extrudedHeight: { + name: "extrudedHeight", + }, }); } }); diff --git a/src/core/mantle/types/appearance.ts b/src/core/mantle/types/appearance.ts index a613028f91..71faf482f9 100644 --- a/src/core/mantle/types/appearance.ts +++ b/src/core/mantle/types/appearance.ts @@ -83,6 +83,7 @@ export type PolygonAppearance = { lineJoin?: CanvasLineJoin; near?: number; far?: number; + extrudedHeight?: number; }; export type EllipsoidAppearance = {