MTRasterTileSource
A raster tile source. Tiles must be in ZXY or TMS tile format. For raster tiles hosted by MapTiler, the URL should be of the form: https://api.maptiler.com/tiles/[tilesetid]/tiles.json?key=
Constructors
constructor(identifier: String, attribution: String?, bounds: DoubleArray, maxZoom: Double, minZoom: Double, tiles: Array<URL>?, url: URL?, type: MTSourceType, scheme: MTTileScheme, tileSize: Int)
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.
Unique identifier of a source.
Scheme used for tiles. Influences the y direction of the tile coordinates. Defaults to XYZ.
Type of the source.