NetworkNoRetryTileProvider class
TileProvider that uses FMNetworkNoRetryImageProvider
internally
This image provider does not automatically retry any failed requests. This provider is the default and the recommended provider, unless your tile server is especially unreliable.
Note that the 'User-Agent' header and the HttpClient cannot be changed, on the web platform.
- Inheritance
-
- Object
- TileProvider
- NetworkNoRetryTileProvider
Constructors
-
NetworkNoRetryTileProvider({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 disposedinherited -
getImage(
Coords< num> coords, TileLayer options) → ImageProvider<Object> -
Retrieve a tile as an image, based on it's coordinates and the current
TileLayerOptions
override -
getSubdomain(
Coords< num> coords, TileLayer options) → String -
Get a subdomain value for a tile, based on it's coordinates and the current
TileLayerOptions
inherited -
getTileFallbackUrl(
Coords< num> coords, TileLayer options) → String? -
Generates a valid URL for the
fallbackUrl
.inherited -
getTileUrl(
Coords< num> coords, TileLayer 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