NonCachingNetworkTileProvider class
Deprecated due to internal refactoring. The name is misleading, as the internal ImageProvider always caches, and this is recommended by most tile servers anyway. For the same functionality, migrate to NetworkNoRetryTileProvider before the next minor update.
- Inheritance
-
- Object
- TileProvider
- NonCachingNetworkTileProvider
- Annotations
-
- @Deprecated('`NonCachingNetworkTileProvider` has been deprecated due to internal refactoring. The name is misleading, as the internal `ImageProvider` always caches, and this is recommended by most tile servers anyway. For the same functionality, migrate to `NetworkNoRetryTileProvider` before the next minor update.')
Constructors
-
NonCachingNetworkTileProvider({Map<
String, String> ? headers, HttpClient? httpClient})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
↔ Map<
String, String> -
Custom headers that may be sent with each tile request, if the specific implementation supports it
getter/setter pairinherited
- httpClient ↔ HttpClient
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
Called when the TileLayerWidget is disposed
inherited
-
getImage(
Coords< num> coords, TileLayerOptions options) → ImageProvider<Object> -
Retrieve a tile as an image, based on it's coordinates and the current TileLayerOptions
override
-
getSubdomain(
Coords< num> coords, TileLayerOptions options) → String -
Get a subdomain value for a tile, based on it's coordinates and the current TileLayerOptions
inherited
-
getTileUrl(
Coords< num> coords, TileLayerOptions options) → String -
Generate a valid URL for a tile, based on it's coordinates and the current TileLayerOptions
inherited
-
invertY(
int y, int z) → int -
inherited
-
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