Skip to content

CustomDataSource

CustomDataSource is a kind of data sources, but empty. It can be thought of as a collection of entities in a sense. It can have some Entity components as children.

Inside Viewer or CesiumWidget components.

PropertyTypeDescription
showboolean
clockDataSourceClock
clusteringEntityCluster
namestring
isLoadingboolean

N/A

PropertyTypeDescription
onChange((customDataSource: CustomDataSource) => void) | undefined
onError((customDataSource: CustomDataSource, error: any) => void) | undefined
onLoading((customDataSource: CustomDataSource, isLoaded: boolean) => void) | undefined
PropertyTypeDescription
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
childrenReactNode