Builder

class Builder(val sourceId: String)

Builder for ImageSource.

Parameters

sourceId

the ID of the source

Constructors

Link copied to clipboard
fun Builder(sourceId: String)

Functions

Link copied to clipboard

Build the ImageSource.

Link copied to clipboard

Corners of image specified in longitude, latitude pairs. Note: When using globe projection, the image will be centered at the North or South Pole in the respective hemisphere if the average latitude value exceeds 85 degrees or falls below -85 degrees.

Link copied to clipboard

When loading a map, if PrefetchZoomDelta is set to any number greater than 0, the map will first request a tile at zoom level lower than zoom - delta, but so that the zoom level is multiple of delta, in an attempt to display a full map at lower resolution as quick as possible. It will get clamped at the tile source minimum zoom. The default delta is 4.

Link copied to clipboard

URL that points to an image. If the URL is not specified, the image is expected to be loaded directly during runtime.

Properties

Link copied to clipboard