See also
Constructors
Types
Functions
Properties
Contains an attribution to be displayed when the map is shown to a user.
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.
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.
The encoding used by this source. Mapbox Terrain RGB is used by default This is an Expression representation of this Property.
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. This might introduce unwanted rendering side-effects, especially for raster tiles that are overscaled multiple times. This property sets the maximum limit for how much a parent tile can be overscaled.
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. This might introduce unwanted rendering side-effects, especially for raster tiles that are overscaled multiple times. This property sets the maximum limit for how much a parent tile can be overscaled.
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 tile update interval in milliseconds, which is used to throttle the tile update network requests.
Minimum tile update interval in milliseconds, which is used to throttle the tile update network requests.
Minimum zoom level for which tiles are available, as in the TileJSON spec.
When loading a map, if PrefetchZoomDelta
is set to any number greater than 0, the map will first request a tile for zoom - delta
in a 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.
When loading a map, if PrefetchZoomDelta
is set to any number greater than 0, the map will first request a tile for zoom - delta
in a 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.
An array of one or more tile source URLs, as in the TileJSON spec.
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>
.
A setting to determine whether a source's tiles are cached locally.