RasterDemSource

class RasterDemSource(builder: RasterDemSource.Builder) : Source

A RGB-encoded raster DEM source

See also

Constructors

RasterDemSource
Link copied to clipboard
fun RasterDemSource(builder: RasterDemSource.Builder)

Types

Builder
Link copied to clipboard
class Builder(sourceId: String)
Builder for RasterDemSource.
Companion
Link copied to clipboard
object Companion
Static variables and methods.

Functions

bindTo
Link copied to clipboard
open override fun bindTo(delegate: StyleInterface)
Add the source to the Style.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
maxOverscaleFactorForParentTiles
Link copied to clipboard
fun maxOverscaleFactorForParentTiles(value: Long): RasterDemSource
When a set of tiles for a current zoom level is being rendered and some of the ideal tiles that cover the screen are not yet loaded, parent tile could be used instead.
maxzoom
Link copied to clipboard
fun maxzoom(value: Long = 22L): RasterDemSource
Maximum zoom level for which tiles are available, as in the TileJSON spec.
minimumTileUpdateInterval
Link copied to clipboard
fun minimumTileUpdateInterval(value: Double = 0.0): RasterDemSource
Minimum tile update interval in milliseconds, which is used to throttle the tile update network requests.
minzoom
Link copied to clipboard
fun minzoom(value: Long = 0L): RasterDemSource
Minimum zoom level for which tiles are available, as in the TileJSON spec.
prefetchZoomDelta
Link copied to clipboard
fun prefetchZoomDelta(value: Long = 4L): RasterDemSource
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.
tileNetworkRequestsDelay
Link copied to clipboard
fun tileNetworkRequestsDelay(value: Double = 0.0): RasterDemSource
For the tiled sources, this property sets the tile network requests delay.
tileRequestsDelay
Link copied to clipboard
fun tileRequestsDelay(value: Double = 0.0): RasterDemSource
For the tiled sources, this property sets the tile requests delay.
tiles
Link copied to clipboard
fun tiles(value: List<String>): RasterDemSource
An array of one or more tile source URLs, as in the TileJSON spec.
toString
Link copied to clipboard
open override fun toString(): String
Returns a human readable string that includes the cached properties of the source.
url
Link copied to clipboard
fun url(value: String): RasterDemSource
A URL to a TileJSON resource.
volatile
Link copied to clipboard
fun volatile(value: Boolean = false): RasterDemSource
A setting to determine whether a source's tiles are cached locally.

Properties

attribution
Link copied to clipboard
val attribution: String?
Contains an attribution to be displayed when the map is shown to a user.
bounds
Link copied to clipboard
val bounds: List<Double>?
An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: [sw.lng, sw.lat, ne.lng, ne.lat].
encoding
Link copied to clipboard
val encoding: Encoding?
The encoding used by this source.
maxOverscaleFactorForParentTiles
Link copied to clipboard
val maxOverscaleFactorForParentTiles: Long?
When a set of tiles for a current zoom level is being rendered and some of the ideal tiles that cover the screen are not yet loaded, parent tile could be used instead.
maxzoom
Link copied to clipboard
val maxzoom: Long?
Maximum zoom level for which tiles are available, as in the TileJSON spec.
minimumTileUpdateInterval
Link copied to clipboard
val minimumTileUpdateInterval: Double?
Minimum tile update interval in milliseconds, which is used to throttle the tile update network requests.
minzoom
Link copied to clipboard
val minzoom: Long?
Minimum zoom level for which tiles are available, as in the TileJSON spec.
prefetchZoomDelta
Link copied to clipboard
val prefetchZoomDelta: Long?
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.
sourceId
Link copied to clipboard
val sourceId: String
The ID of the Source.
tileNetworkRequestsDelay
Link copied to clipboard
val tileNetworkRequestsDelay: Double?
For the tiled sources, this property sets the tile network requests delay.
tileRequestsDelay
Link copied to clipboard
val tileRequestsDelay: Double?
For the tiled sources, this property sets the tile requests delay.
tiles
Link copied to clipboard
val tiles: List<String>?
An array of one or more tile source URLs, as in the TileJSON spec.
tileSize
Link copied to clipboard
val tileSize: Long?
The minimum visual size to display tiles for this layer.
url
Link copied to clipboard
val url: String?
A URL to a TileJSON resource.
volatile
Link copied to clipboard
val volatile: Boolean?
A setting to determine whether a source's tiles are cached locally.