Companion
Static variables and methods.
Functions
Properties
The encoding used by this source. Mapbox Terrain RGB is used by default
The encoding used by this source. Mapbox Terrain RGB is used by default This is an Expression representation of this Property.
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.
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.
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.
A setting to determine whether a source's tiles are cached locally.
A setting to determine whether a source's tiles are cached locally.