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, TileCacheBudget? tileCacheBudget})

Properties

attribution Future<String?>
Contains an attribution to be displayed when the map is shown to a user.
read-only
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.
read-only
hashCode int
The hash code for this object.
read-onlyinherited
id String
The ID of the Source.
read / writeinherited
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.
read-only
minzoom Future<double?>
Minimum zoom level for which tiles are available, as in the TileJSON spec.
read-only
rasterLayers Future<List<RasterDataLayer?>?>
Contains the description of the raster data layers and the bands contained within the tiles.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
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.
read-only
tiles Future<List<String?>?>
An array of one or more tile source URLs, as in the TileJSON spec.
read-only
tileSize Future<double?>
The minimum visual size to display tiles for this layer. Only configurable for raster layers.
read-only
url Future<String?>
A URL to a TileJSON resource. Supported protocols are http:, https:, and mapbox://<Tileset ID>.
read-only

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