Appearance
PointEntity (Pixel Point Entity Object)
Create and manage pixel point Entity objects.
Constructor
ts
new ge3d.feature.PointEntity(options?: {}): PointEntityParameters (StyleOptions)
| Parameter | Type | Default | Description |
|---|---|---|---|
| pixelSize | Number | 10 | Pixel size |
| color | String | Cesium.Color | "#3388ff" | Color |
| opacity | Number | 1.0 | Opacity, range 0.0-1.0 |
| outline | Boolean | false | Whether to have outline |
| outlineColor | String | Cesium.Color | "#ffffff" | Outline color |
| outlineOpacity | Number | 0.6 | Outline opacity |
| outlineWidth | Number | 2 | Outline width |
| scaleByDistance | Boolean | Cesium.NearFarScalar | false | Whether to scale by distance or specify point scaling based on distance |
| scaleByDistance_far | Number | 1000000 | Upper limit |
| scaleByDistance_farValue | Number | 0.1 | Scale value |
| scaleByDistance_near | Number | 1000 | Lower limit |
| scaleByDistance_nearValue | Number | 1 | Scale value |
| distanceDisplayCondition | Boolean | Cesium.DistanceDisplayCondition | false | Whether to display by distance or specify at what distance from camera this will be displayed |
| distanceDisplayCondition_far | Number | 10000 | Maximum distance |
| distanceDisplayCondition_near | Number | 0 | Minimum distance |
| visibleDepth | Boolean | true | Whether to be occluded |
| disableDepthTestDistance | number | - | Specify distance from camera to disable depth testing |
| translucencyByDistance | Cesium.NearFarScalar | - | Used to set translucency based on distance from camera |
| clampToGround | Boolean | false | Whether to clamp to ground |
| heightReference | Cesium.HeightReference | Cesium.HeightReference.NONE | Property specifying what the height is relative to |
| setHeight | Number | 0 | Specify coordinate height value (commonly used in layer configuration) |
| addHeight | Number | 0 | Height value added to existing coordinates (commonly used in layer configuration) |
| highlight | PointEntity.StyleOptions | - | Highlight style on hover or click (type:'click'), can also be toggled via openHighlight/closeHighlight methods after creating Graphic |
| label | LabelEntity.StyleOptions | - | Support for additional text display |