LabelGraphics
LabelGraphics is a label visualization for the entity.
- Cesium element: LabelGraphics
- Example: LabelGraphics
Availability
LabelGraphics can be mounted only insideEntity components, and can not be mounted more than once for each entity.
Properties
Cesium properties
| Property | Type | Description |
|---|---|---|
| disableDepthTestDistance | number | Property | |
| distanceDisplayCondition | DistanceDisplayCondition | Property | |
| eyeOffset | Cartesian3 | Property | |
| heightReference | HeightReference | Property | |
| horizontalOrigin | HorizontalOrigin | Property | |
| pixelOffset | Cartesian2 | Property | |
| pixelOffsetScaleByDistance | NearFarScalar | Property | |
| scale | number | Property | |
| scaleByDistance | NearFarScalar | Property | |
| show | boolean | Property | |
| translucencyByDistance | NearFarScalar | Property | |
| verticalOrigin | VerticalOrigin | Property | |
| outlineColor | Color | Property | |
| outlineWidth | number | Property | |
| style | Property | LabelStyle | |
| backgroundColor | Color | Property | |
| backgroundPadding | Cartesian2 | Property | |
| fillColor | Color | Property | |
| font | string | Property | |
| showBackground | boolean | Property | |
| text | string | Property |
Cesium read-only properties
N/A
Cesium events
| Property | Type | Description |
|---|---|---|
| onDefinitionChange | () => void |
Other properties
N/A