Ellipse

<ac-ellipse-desc />

This is an ellipse implementation. The element must be a child of ac-layer element.

Usage :

<ac-ellipse-desc props="{
position: entity.position,
semiMajorAxis: entity.majorRadius,
semiMinorAxis: entity.minorRadius,
rotation: entity.rotaiton
height: 0,
}">
</ac-ellipse-desc>

Description of the props :

  • All other properties of props are the same as the properties EllipseGraphicsand the general properties of Entity (like position).

Set height prop for performance enhancement

<ac-ellipse />

this is a single ellipse implementation. The element must be a child of ac-map element.

Usage :

<ac-ellipse [props]="{
position: position,
semiMajorAxis:40000.0,
semiMinorAxis:25000.0,
rotation : 0.785398
}">
</ac-ellipse>

Description of the props :

  • All other properties of props are the same as the properties EllipseGraphicsand the general properties of Entity (like position).