Polygon

<ac-polygon-desc />

This is a polygon implementation. The element must be a child of ac-layer element.
Usage:
1
<ac-polygon-desc props="{
2
hierarchy: polygon.hierarchy,
3
material: polygon.material,
4
height: polygon.height
5
}">
6
</ac-polygon-desc>
Copied!
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:

1
<ac-polygon props="{
2
hierarchy: polygon.hierarchy,
3
material: polygon.material,
4
height: polygon.height
5
}">
6
</ac-polygon>
Copied!
Description of the props :
  • All other properties of props are the same as the properties PolygonGraphicsand the general properties of Entity (like position).
Last modified 2yr ago