Parameters
the ID of the source
Constructors
Functions
Contains an 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]
. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL.
Build the RasterArraySource.
Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels.
Minimum zoom level for which tiles are available, as in the TileJSON spec.
An array of one or more tile source URLs, as in the TileJSON spec.
Add a TileSet to the Source.
Add a TileSet to the Source, using DSL.
The minimum visual size to display tiles for this layer. Only configurable for raster layers.
A URL to a TileJSON resource. Supported protocols are http:
, https:
, and mapbox://<Tileset ID>
.