Companion

Functions

Link copied to clipboard
suspend fun loadImage(imageryProvider: ImageryProvider, url: Resource): Any?

Loads an image from a given URL. If the server referenced by the URL already has too many requests pending, this function will instead return undefined, indicating that the request should be retried later.

suspend fun loadImage(imageryProvider: ImageryProvider, url: String): Any?
Link copied to clipboard
fun loadImageAsync(imageryProvider: ImageryProvider, url: Resource): Promise<Any>?
fun loadImageAsync(imageryProvider: ImageryProvider, url: String): Promise<Any>?