This is an implementation of an arc. The element must be a child of ac-layer element.
An arc is not Cesium natively implemented, it's a custom component that uses ac-polyline
.
<ac-arc-desc props="{center: arc.center,angle: arc.angle,delta: arc.delta,radius: arc.radius,color : arc.color // - The color should be Cesium.Color type}"></ac-arc-desc>
Description of the props :
center
- The arc is a section of an outline of a circle, This is the center of the circle.
angle
- the initial angle of the arc in radians
delta
- the spreading of the arc.
radius
- the distance from the center to the arc
For example : angle: 0
and delta: π
will draw an half circle
Check the arc-layer-example.component.ts
or the full stackblitz example