Companion

external object Companion(source)

Functions

Link copied to clipboard
external fun fromGeoJson(geoJson: JsAny, options: JsAny? = definedExternally)

Creates a loader directly from a parsed GeoJSON object.

Link copied to clipboard
suspend external fun fromUrl(url: Resource, options: GeoJsonPrimitiveConstructorOptions? = definedExternally): GeoJsonPrimitive

Loads GeoJSON from a URL or Resource.

suspend external fun fromUrl(url: String, options: GeoJsonPrimitiveConstructorOptions? = definedExternally): GeoJsonPrimitive
Link copied to clipboard
external fun fromUrlAsync(url: Resource, options: GeoJsonPrimitiveConstructorOptions? = definedExternally): Promise<GeoJsonPrimitive>
external fun fromUrlAsync(url: String, options: GeoJsonPrimitiveConstructorOptions? = definedExternally): Promise<GeoJsonPrimitive>