Skip to content

3d polygon #687

Description

@samareshdasglobal

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
);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions