PolygonTileSource class - mapview.datasource library - Dart API
PolygonTileSource
PolygonTileSource class abstract
A source of geodetic polygon tiles.
Polygons provided by an implementation must be clipped to the boundaries of the requested tile. 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.
- Implemented types
Constructors
-
PolygonTileSource(TileSourceDataVersion getDataVersionLambda(TileKey), void addListenerLambda(TileSourceListener), void removeListenerLambda(TileSourceListener), TileSourceLoadTileRequestHandle? loadTileLambda(TileKey, PolygonTileSourceLoadResultHandler), TilingScheme tilingSchemeGetLambda(), List<
int> storageLevelsGetLambda()) -
A source of geodetic polygon 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 setterinherited
- tilingScheme → TilingScheme
-
The tiling scheme used by this source.
Gets the tiling scheme used by this source.
no setterinherited
Methods
-
addListener(
TileSourceListener listener) → void -
Adds a listener for receiving state notifications.
inherited
-
getDataVersion(
TileKey tileKey) → TileSourceDataVersion -
Gets the current data version of a tile.
inherited
-
loadTile(
TileKey tileKey, PolygonTileSourceLoadResultHandler completionHandler) → TileSourceLoadTileRequestHandle? - Load data 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.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited