TileProvider class abstract

The base tile provider implementation, extended by other classes such as NetworkTileProvider

Visit the online documentation at https://docs.fleaflet.dev/usage/layers/tile-layer/tile-providers for more information.

Implementers

Constructors

TileProvider({Map<String, String> headers = const {}})
The base tile provider implementation, extended by other classes such as NetworkTileProvider

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 pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Called when the TileLayerWidget is disposed
getImage(Coords<num> coords, TileLayerOptions options) ImageProvider<Object>
Retrieve a tile as an image, based on it's coordinates and the current TileLayerOptions
getSubdomain(Coords<num> coords, TileLayerOptions options) String
Get a subdomain value for a tile, based on it's coordinates and the current TileLayerOptions
getTileUrl(Coords<num> coords, TileLayerOptions options) String
Generate a valid URL for a tile, based on it's coordinates and the current TileLayerOptions
invertY(int y, int z) int
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