Companion

Types

Link copied to clipboard
sealed interface LoadOptions

Initialization options for the load method.

Properties

Link copied to clipboard

Gets the array of CZML processing functions.

Functions

Link copied to clipboard
suspend fun load(czml: Resource, options: CzmlDataSource.Companion.LoadOptions? = definedExternally): CzmlDataSource

Creates a Promise to a new instance loaded with the provided CZML data.

suspend fun load(czml: Any, options: CzmlDataSource.Companion.LoadOptions? = definedExternally): CzmlDataSource
suspend fun load(czml: String, options: CzmlDataSource.Companion.LoadOptions? = definedExternally): CzmlDataSource
Link copied to clipboard
fun loadAsync(czml: Any, options: CzmlDataSource.Companion.LoadOptions? = definedExternally): Promise<CzmlDataSource>
fun loadAsync(czml: String, options: CzmlDataSource.Companion.LoadOptions? = definedExternally): Promise<CzmlDataSource>
Link copied to clipboard
fun processMaterialPacketData(obj: Any, propertyName: String, packetData: Any, interval: TimeInterval, sourceUri: String, entityCollection: EntityCollection)

A helper function used by custom CZML updater functions which creates or updates a MaterialProperty from a CZML packet.

Link copied to clipboard
fun processPacketData(type: Function<*>, obj: Any, propertyName: String, packetData: Any, interval: TimeInterval, sourceUri: String, entityCollection: EntityCollection)

A helper function used by custom CZML updater functions which creates or updates a Property from a CZML packet.

Link copied to clipboard
fun processPositionPacketData(obj: Any, propertyName: String, packetData: Any, interval: TimeInterval, sourceUri: String, entityCollection: EntityCollection)

A helper function used by custom CZML updater functions which creates or updates a PositionProperty from a CZML packet.