RasterArraySource class

A raster array source @see The online documentation

Inheritance
Annotations

Constructors

RasterArraySource({required String id, String? url, List<String?>? tiles, List<double?>? bounds, double? minzoom, double? maxzoom, double? tileSize, String? attribution, bool? volatile, TileCacheBudget? tileCacheBudget})

Properties

attribution → Future<String?>
Contains an attribution to be displayed when the map is shown to a user.
no setter
bounds → Future<List<double?>?>
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. Default value: -180,-85.051129,180,85.051129.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String
The ID of the Source.
getter/setter pairinherited
maxzoom → Future<double?>
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. Default value: 22.
no setter
minzoom → Future<double?>
Minimum zoom level for which tiles are available, as in the TileJSON spec. Default value: 0.
no setter
rasterLayers → Future<List<RasterDataLayer?>?>
Contains the description of the raster data layers and the bands contained within the tiles.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tileCacheBudget → Future<TileCacheBudget?>
This property defines a source-specific resource budget, either in tile units or in megabytes. Whenever the tile cache goes over the defined limit, the least recently used tile will be evicted from the in-memory cache. Note that the current implementation does not take into account resources allocated by the visible tiles.
no setter
tiles → Future<List<String?>?>
An array of one or more tile source URLs, as in the TileJSON spec. Required if url is not provided.
no setter
tileSize → Future<double?>
The minimum visual size to display tiles for this layer. Only configurable for raster layers. Default value: 512. The unit of tileSize is in pixels.
no setter
url → Future<String?>
A URL to a TileJSON resource. Supported protocols are http:, https:, and mapbox://<Tileset ID>. Required if tiles is not provided.
no setter
volatile → Future<bool?>
A setting to determine whether a source's tiles are cached locally. Default value: false.
no setter

Methods

bind(StyleManager style) → void
inherited
getType() → String
Get the type of the current source as a String.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited