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