Polygon

<ac-polygon-desc />

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

Usage:

<ac-polygon-desc props="{
hierarchy: polygon.hierarchy,
material: polygon.material,
height: polygon.height
}">
</ac-polygon-desc>

Description of the props :

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

Tip: Set height prop for performance enhancement

<ac-polygon />

This is a single polygon implementation. The element must be a child of ac-map element.

Usage:

<ac-polygon props="{
hierarchy: polygon.hierarchy,
material: polygon.material,
height: polygon.height
}">
</ac-polygon>

Description of the props :

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