Appearance
PointPrimitive (Point Primitive)
Create and manage a point primitive object.
Constructor
ts
new ge3d.feature.PointPrimitive(options?: {}): PointPrimitiveParameters (StyleOptions)
| Parameter | Type | Default | Description |
|---|---|---|---|
| position | Array/String/Cesium.Cartesian3 | - | Coordinate position |
| pixelSize | Number | 10 | Pixel size |
| color | String | #FFFFFF | Color |
| outlineColor | String | #000000 | Outline color |
| outlineWidth | Number | 0 | Outline width |
Properties
| Property | Type | Description |
|---|---|---|
| position | Cesium.Cartesian3 | Coordinate position |
| show | Boolean | Whether to display |
Methods
setStyle
Set style
ts
setStyle(style: Object): voidremove
Remove object
ts
remove(): void