Skip to content

LabelGraphics

LabelGraphics is a label visualization for the entity.

LabelGraphics can be mounted only insideEntity components, and can not be mounted more than once for each entity.

Property Type Description
disableDepthTestDistance number | Property | undefined
distanceDisplayCondition DistanceDisplayCondition | Property | undefined
eyeOffset Cartesian3 | Property | undefined
heightReference HeightReference | Property | undefined
horizontalOrigin HorizontalOrigin | Property | undefined
pixelOffset Cartesian2 | Property | undefined
pixelOffsetScaleByDistance NearFarScalar | Property | undefined
scale number | Property | undefined
scaleByDistance NearFarScalar | Property | undefined
show boolean | Property | undefined
translucencyByDistance NearFarScalar | Property | undefined
verticalOrigin VerticalOrigin | Property | undefined
outlineColor Color | Property | undefined
outlineWidth number | Property | undefined
style Property | LabelStyle | undefined
backgroundColor Color | Property | undefined
backgroundPadding Cartesian2 | Property | undefined
fillColor Color | Property | undefined
font string | Property | undefined
showBackground boolean | Property | undefined
text string | Property | undefined

N/A

Property Type Description
onDefinitionChange (() => void) | undefined

N/A