spherical area

1. A concise explanation of the problem you're experiencing.

i'm trying to create a spherical area using polygon.
it is possible to use spherical and not planar geometry?

the magenta is created with cesium
tnx for help

2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.

viewer.entities.add({
  polygon : {
    hierarchy : new Cesium.PolygonHierarchy(Cesium.Cartesian3.fromDegreesArray([
      32.2242159613248,30.25536041509392 ,
      39.53806035618698,47.37181083957466 ,
      -5.56478027319013,36.04732486529416
    ])),
    material : Cesium.Color.fromCssColorString('#ff0055')
  }
});

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

4. The Cesium version you're using, your operating system and browser.

i'm using
https://cesiumjs.org/releases/1.54/Build/Cesium/Cesium.js
https://cesiumjs.org/releases/1.54/Build/Cesium/Widgets/widgets.css

This was recently added in 1.54:

https://github.com/AnalyticalGraphicsInc/cesium/blob/master/CHANGES.md#highlights-sparkler

You can supply an arcType to your polygon:

polygon : {

hierarchy : Cesium.Cartesian3.fromDegreesArray([-120.0, 45.0,

-80.0, 45.0,

-80.0, 55.0,

-120.0, 55.0]),

extrudedHeight: 50000,

material : Cesium.Color.PURPLE,

outline : true,

outlineColor : Cesium.Color.MAGENTA,

arcType : Cesium.ArcType.RHUMB

}

``

You can see an example of this here with the purple polygon:

Let me know if that works for you.

yes!
thanks a lot, omar.