load

suspend fun load(czml: Resource, options: CzmlDataSource.Companion.LoadOptions? = definedExternally): CzmlDataSource(source)

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

Return

A promise that resolves to the new instance once the data is processed.

Parameters

czml

A url or CZML object to be processed.

options

An object specifying configuration options

See also


suspend fun load(czml: String, options: CzmlDataSource.Companion.LoadOptions? = definedExternally): CzmlDataSource(source)
suspend fun load(czml: Any, options: CzmlDataSource.Companion.LoadOptions? = definedExternally): CzmlDataSource(source)