requestImage

suspend fun requestImage(x: Double, y: Double, level: Int, request: Request? = definedExternally): ImageryTypes?(source)

Requests the image for a given tile.

Return

Returns a promise for the image that will resolve when the image is available, or undefined if there are too many active requests to the server, and the request should be retried later.

Parameters

x

The tile X coordinate.

y

The tile Y coordinate.

level

The tile level.

request

The request object. Intended for internal use only.

See also