MTRasterDEMSource
A raster DEM source. Only supports Terrain RGB encodings.
For MapTiler Terrain RGB, the URL should typically point to a TileJSON resource.
Constructors
constructor(identifier: String, attribution: String?, bounds: DoubleArray, maxZoom: Double, minZoom: Double, tiles: Array<URL>?, url: URL?, type: MTSourceType, tileSize: Int, encoding: MTRasterDEMEncoding)
Properties
Attribution to be displayed when the map is shown to a user.
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. Defaults to -180, -85.051129, 180, 85.051129.
The encoding used by this source. One of "terrarium" or "mapbox" (Terrain RGB). Defaults to MAPBOX.
Unique identifier of a source.
Type of the source.