Image Source State
class ImageSourceState(val sourceId: String = generateRandomSourceId("image"), initialBuilderProperties: Map<String, Value> = mapOf(), initialProperties: Map<String, Value> = mapOf()) : SourceState
An image data source.
See also
Parameters
source Id
The id of the source state, by default a random generated ID will be used.
initial Builder Properties
The initial immutable properties of the source.
initial Properties
The initial mutable properties of the source.
Constructors
Types
Functions
Properties
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.