Label

<ac-label-deac />

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

Usage:

1
<ac-label-desc props="{
2
position: entiy.position,
3
pixelOffset : [-15,20] | pixelOffset,
4
text: entity.name,
5
font: '15px sans-serif'
6
}">
7
</ac-label-desc>
Copied!
Description of the props :
  • All other properties of props are the same as the properties LabelGraphicsand the general properties of Entity (like position).

<ac-label-primitive-deac />

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

Usage :

1
<ac-label-primitive-desc props="{
2
position: entity.position,
3
pixelOffset : [-15,20] | pixelOffset,
4
text: entity.name,
5
font: '15px sans-serif'
6
}">
7
</ac-label-primitive-desc>
Copied!
Description of the props :
  • All other properties of props are the same as the properties Cesium's Label

<ac-label />

This is a single billboard implementation. The element must be a child of ac-map element. The properties of props are the same as the properties of Cesium's LabelGraphics.

Usage:

1
<ac-label [props]="{
2
position: position,
3
text: 'label text',
4
font: '30px sans-serif',
5
fillColor : aquamarine
6
}">
7
</ac-billboard>
Copied!
Last modified 2yr ago