-
Notifications
You must be signed in to change notification settings - Fork 300
Open
Description
Hello,
I am trying to render polygons with altitude in TerriaMap. I have prepared a GeoJSON with a height property. During debugging, I noticed that the following code is executed, but it does not draw polygons in 3D shape. Using the same GeoJSON data, I am able to draw 3D polygons using CesiumJS.
entity.polygon.closeTop = new ConstantProperty(true);
entity.polygon.extrudedHeight = properties[this.heightProperty];
entity.polygon.height = properties[this.heightProperty];
entity.polygon.heightReference = new ConstantProperty(
HeightReference.CLAMP_TO_GROUND
);
entity.polygon.extrudedHeightReference = new ConstantProperty(
HeightReference.RELATIVE_TO_GROUND
);
Metadata
Metadata
Assignees
Labels
No labels