Skip to content

PointEntity (Pixel Point Entity Object)

Create and manage pixel point Entity objects.

Constructor

ts
new ge3d.feature.PointEntity(options?: {}): PointEntity

Parameters (StyleOptions)

ParameterTypeDefaultDescription
pixelSizeNumber10Pixel size
colorString | Cesium.Color"#3388ff"Color
opacityNumber1.0Opacity, range 0.0-1.0
outlineBooleanfalseWhether to have outline
outlineColorString | Cesium.Color"#ffffff"Outline color
outlineOpacityNumber0.6Outline opacity
outlineWidthNumber2Outline width
scaleByDistanceBoolean | Cesium.NearFarScalarfalseWhether to scale by distance or specify point scaling based on distance
scaleByDistance_farNumber1000000Upper limit
scaleByDistance_farValueNumber0.1Scale value
scaleByDistance_nearNumber1000Lower limit
scaleByDistance_nearValueNumber1Scale value
distanceDisplayConditionBoolean | Cesium.DistanceDisplayConditionfalseWhether to display by distance or specify at what distance from camera this will be displayed
distanceDisplayCondition_farNumber10000Maximum distance
distanceDisplayCondition_nearNumber0Minimum distance
visibleDepthBooleantrueWhether to be occluded
disableDepthTestDistancenumber-Specify distance from camera to disable depth testing
translucencyByDistanceCesium.NearFarScalar-Used to set translucency based on distance from camera
clampToGroundBooleanfalseWhether to clamp to ground
heightReferenceCesium.HeightReferenceCesium.HeightReference.NONEProperty specifying what the height is relative to
setHeightNumber0Specify coordinate height value (commonly used in layer configuration)
addHeightNumber0Height value added to existing coordinates (commonly used in layer configuration)
highlightPointEntity.StyleOptions-Highlight style on hover or click (type:'click'), can also be toggled via openHighlight/closeHighlight methods after creating Graphic
labelLabelEntity.StyleOptions-Support for additional text display