TileSource class abstract

A source of tiles.

The implementations must be thread-safe.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.

Implementers

Constructors

TileSource(TileSourceDataVersion getDataVersionLambda(TileKey), void addListenerLambda(TileSourceListener), void removeListenerLambda(TileSourceListener), TilingScheme tilingSchemeGetLambda(), List<int> storageLevelsGetLambda())
A source of tiles.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
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 to be used as a source of data. Gets the storage levels available for this data source. Supported range [0, 31].
no setter
tilingScheme TilingScheme
The tiling scheme used by this source. Gets the tiling scheme used by this source.
no setter

Methods

addListener(TileSourceListener listener) → void
Adds a listener for receiving state notifications.
getDataVersion(TileKey tileKey) TileSourceDataVersion
Gets the current data version of a tile.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(TileSourceListener listener) → void
Removes a listener from receiving state notifications.
toString() → String
A string representation of this object.
inherited

Operators

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