RasterDataSourceProviderConfiguration class

Configuration of a data provider.

Constructors

RasterDataSourceProviderConfiguration.Default(TileUrlProviderCallback urlProvider, TilingScheme tilingScheme, List<int> storageLevels, bool hasAlphaChannel, Map<String, String>? headers)
Creates a new instance.
RasterDataSourceProviderConfiguration.withDefaults(TileUrlProviderCallback urlProvider, TilingScheme tilingScheme, List<int> storageLevels)
Creates a new instance.

Properties

hasAlphaChannel ↔ bool
A flag indicating whether the image content contains an alpha channel for transparency. Default value is false.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
headers ↔ Map<String, String>?
The optional name-value pairs specifying HTTP headers that are passed with each tile request.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storageLevels ↔ List<int>
The storage levels available for this data source. Supported range [0, 31]. At least one level must be available for this provider to be used as a source of data. At storage level zero, the whole world is represented by one tile. At storage level 1 the world is split in 2x2 tiles (or in 2x1 tiles, depending on the tiling scheme). The tiling process continues in this fashion until sufficient granularity has been achieved. In the XYZ addresing scheme for tiles, z value of the tile key coresponds to the storage level. Depending on the available storage levels and the given camera zoom level, the appropriate z value of the tile key will be determined.
getter/setter pair
tilingScheme TilingScheme
The tiling scheme used by this source.
getter/setter pair
urlProvider TileUrlProviderCallback
Provides a function that generates URLs based on tile coordinates and storage level.
getter/setter pair

Methods

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