Skip to content

GroundPolylinePrimitive

GroundPolylinePrimitive is a ground polyline primitive in the PrimitiveCollection.

Primitive is a low layer API for geographical visualization. Entity is more recommended unless performance issues.

Inside Viewer, CesiumWidget, or GroundPrimitiveCollection component. If this component is inside GroundPrimitiveCollection component, a ground primitive object will be attached to the ground primitive collection of the scene. Otherwise, a primitive object will be attached to the PrimitiveCollection of the Viewer or CesiumWidget.

Property Type Description
show boolean | undefined
debugShowBoundingVolume boolean | undefined
classificationType ClassificationType | undefined
debugShowShadowVolume boolean | undefined
appearance Appearance | undefined
Property Type Description
geometryInstances any[] | GeometryInstance | undefined
interleave boolean | undefined
releaseGeometryInstances boolean | undefined
allowPicking boolean | undefined
asynchronous boolean | undefined

N/A

Property Type Description
onClick ((movement: CesiumMovementEvent, target: T) => void) | undefined
onDoubleClick ((movement: CesiumMovementEvent, target: T) => void) | undefined
onMouseDown ((movement: CesiumMovementEvent, target: T) => void) | undefined
onMouseUp ((movement: CesiumMovementEvent, target: T) => void) | undefined
onMiddleClick ((movement: CesiumMovementEvent, target: T) => void) | undefined
onMiddleDown ((movement: CesiumMovementEvent, target: T) => void) | undefined
onMiddleUp ((movement: CesiumMovementEvent, target: T) => void) | undefined
onMouseMove ((movement: CesiumMovementEvent, target: T) => void) | undefined
onPinchEnd ((movement: CesiumMovementEvent, target: T) => void) | undefined
onPinchMove ((movement: CesiumMovementEvent, target: T) => void) | undefined
onPinchStart ((movement: CesiumMovementEvent, target: T) => void) | undefined
onRightClick ((movement: CesiumMovementEvent, target: T) => void) | undefined
onRightDown ((movement: CesiumMovementEvent, target: T) => void) | undefined
onRightUp ((movement: CesiumMovementEvent, target: T) => void) | undefined
onMouseEnter ((movement: CesiumMovementEvent, target: T) => void) | undefined
onMouseLeave ((movement: CesiumMovementEvent, target: T) => void) | undefined
onReady ((primitive: GroundPolylinePrimitive) => void) | undefined Calls when Primitive#readyPromise is fullfilled