How to get max height in polygon

How to get max height in polygon

Hi there,

You can simply iterate through polygon.positions, and convert each position from a Cartesian3 to a Cartographic point (http://cesiumjs.org/Cesium/Build/Documentation/Cartographic.html?classFilter=Carto), then look at the height component. The position with the greatest height is the max height.

Hope that helps,

  • Rachel