Companion

external object Companion(source)

Types

Link copied to clipboard
external interface LoadOptions

Initialization options for the load method.

Functions

Link copied to clipboard
suspend external fun load(data: Resource, options: KmlDataSource.ConstructorOptions? = definedExternally): KmlDataSource

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

suspend external fun load(data: String, options: KmlDataSource.ConstructorOptions? = definedExternally): KmlDataSource
suspend external fun load(data: Blob, options: KmlDataSource.ConstructorOptions? = definedExternally): KmlDataSource
suspend external fun load(data: Document, options: KmlDataSource.ConstructorOptions? = definedExternally): KmlDataSource
Link copied to clipboard
external fun loadAsync(data: Resource, options: KmlDataSource.ConstructorOptions? = definedExternally): Promise<KmlDataSource>
external fun loadAsync(data: String, options: KmlDataSource.ConstructorOptions? = definedExternally): Promise<KmlDataSource>
external fun loadAsync(data: Blob, options: KmlDataSource.ConstructorOptions? = definedExternally): Promise<KmlDataSource>
external fun loadAsync(data: Document, options: KmlDataSource.ConstructorOptions? = definedExternally): Promise<KmlDataSource>