Companion

external object Companion(source)

Types

Link copied to clipboard
external 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 external fun load(czml: Resource, options: CzmlDataSource.Companion.LoadOptions? = definedExternally): CzmlDataSource

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

suspend external fun load(czml: JsAny, options: CzmlDataSource.Companion.LoadOptions? = definedExternally): CzmlDataSource
suspend external fun load(czml: String, options: CzmlDataSource.Companion.LoadOptions? = definedExternally): CzmlDataSource
Link copied to clipboard
external fun loadAsync(czml: Resource, options: CzmlDataSource.Companion.LoadOptions? = definedExternally): Promise<CzmlDataSource>
external fun loadAsync(czml: JsAny, options: CzmlDataSource.Companion.LoadOptions? = definedExternally): Promise<CzmlDataSource>
external fun loadAsync(czml: String, options: CzmlDataSource.Companion.LoadOptions? = definedExternally): Promise<CzmlDataSource>
Link copied to clipboard
external fun processMaterialPacketData(obj: JsAny, propertyName: String, packetData: JsAny, 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
external fun processPacketData(type: Function<*>, obj: JsAny, propertyName: String, packetData: JsAny, 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
external fun processPositionPacketData(obj: JsAny, propertyName: String, packetData: JsAny, 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.