RasterDemSource class Null safety

A RGB-encoded raster DEM source @see The online documentation

Inheritance

Constructors

RasterDemSource({required dynamic id, String? url, List<String?>? tiles, List<double?>? bounds, double? minzoom, double? maxzoom, double? tileSize, String? attribution, Encoding? encoding, bool? volatile, double? prefetchZoomDelta, double? minimumTileUpdateInterval, double? maxOverscaleFactorForParentTiles, double? tileRequestsDelay, double? tileNetworkRequestsDelay})

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
encoding Future<Encoding?>
The encoding used by this source. Mapbox Terrain RGB is used by default
read-only
hashCode int
The hash code for this object.
read-onlyinherited
id String
The ID of the Source.
read / writeinherited
maxOverscaleFactorForParentTiles Future<double?>
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.
read-only
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
minimumTileUpdateInterval Future<double?>
Minimum tile update interval in seconds, which is used to throttle the tile update network requests. If the given source supports loading tiles from a server, sets the minimum tile update interval. Update network requests that are more frequent than the minimum tile update interval are suppressed.
read-only
minzoom Future<double?>
Minimum zoom level for which tiles are available, as in the TileJSON spec.
read-only
prefetchZoomDelta Future<double?>
When loading a map, if PrefetchZoomDelta is set to any number greater than 0, the map will first request a tile at zoom level lower than zoom - delta, but so that the zoom level is multiple of delta, in an 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.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
tileNetworkRequestsDelay Future<double?>
For the tiled sources, this property sets the tile network requests delay. The given delay comes in action only during an ongoing animation or gestures. It helps to avoid loading the transient tiles from the network and thus to avoid redundant network requests. Note that tile-network-requests-delay value is superseded with tile-requests-delay property value, if both are provided.
read-only
tileRequestsDelay Future<double?>
For the tiled sources, this property sets the tile requests delay. The given delay comes in action only during an ongoing animation or gestures. It helps to avoid loading, parsing and rendering of the transient tiles and thus to improve the rendering performance, especially on low-end devices.
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
volatile Future<bool?>
A setting to determine whether a source's tiles are cached locally.
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 non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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