Search code examples
javascriptcesiumjs

Draw partial sphere in Cesium


I am trying to draw a partial sphere in Cesium, representing the coverage area of a radar. However, I can only find documentation in Cesium for drawing a complete sphere, as shown in this example.

How can I draw a partial sphere, given a location and a min/max azimuth and elevation?


Solution

  • I never did find an existing solution to this, so I implemented it myself and submitted it back to the Cesium team. As of 1.62, Cesium supports partial ellipsoids. See the new Sandcastle example.