Polyline

<ac-polyline-desc />

This is a polyline implementation. The element must be a child of ac-layer element.
Usage:
1
<ac-polyline-desc [props]="{
2
position: entity.position,
3
width: entity.width
4
material: entity.material
5
}">
6
</ac-polyline-desc>
Copied!
Description of the props :
  • All other properties of props are the same as the properties PolylineGraphicsand the general properties of Entity (like position).

<ac-polyline />

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

Usage:

1
<ac-polyline [props]="{
2
position: position,
3
text: 'labelText',
4
font: '30px sans-serif'
5
color: Cesium.Color.GREEN
6
}">
7
</ac-polyline>
Copied!
Description of the props :
  • All other properties of props are the same as the properties PolylineGraphicsand the general properties of Entity (like position).

<ac-polyline-primitive-desc />

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

Usage:

1
<ac-polyline-primitive-desc [props]="{
2
position: entity.position,
3
width: entity.width
4
material: entity.material
5
}">
6
</ac-polyline-primitive-desc>
Copied!
Description of the props :
  • All properties of props are the same as the properties Polyline
Last modified 2yr ago