You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
);
The text was updated successfully, but these errors were encountered:
Hello,
After some investigation and debugging, I noticed that 3D polygon drawing is implemented in TerriaJS. The only problem is that I couldn't find a way to set this.heightProperty dynamically.
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
);
The text was updated successfully, but these errors were encountered: