Types
Link copied to clipboard
interface LoadOptions
Initialization options for the load
method.
Functions
Link copied to clipboard
suspend fun load(data: Resource, options: KmlDataSource.ConstructorOptions? = definedExternally): KmlDataSource
Creates a Promise to a new instance loaded with the provided KML data.
suspend fun load(data: String, options: KmlDataSource.ConstructorOptions? = definedExternally): KmlDataSource
suspend fun load(data: Blob, options: KmlDataSource.ConstructorOptions? = definedExternally): KmlDataSource
suspend fun load(data: Document, options: KmlDataSource.ConstructorOptions? = definedExternally): KmlDataSource
Link copied to clipboard
fun loadAsync(data: Resource, options: KmlDataSource.ConstructorOptions? = definedExternally): Promise<KmlDataSource>
fun loadAsync(data: String, options: KmlDataSource.ConstructorOptions? = definedExternally): Promise<KmlDataSource>
fun loadAsync(data: Blob, options: KmlDataSource.ConstructorOptions? = definedExternally): Promise<KmlDataSource>
fun loadAsync(data: Document, options: KmlDataSource.ConstructorOptions? = definedExternally): Promise<KmlDataSource>