FMTCTileProviderSettings class
Settings for an FMTCTileProvider
Constructors
- FMTCTileProviderSettings({CacheBehavior behavior = CacheBehavior.cacheFirst, Duration cachedValidDuration = const Duration(days: 16), int maxStoreLength = 0})
- Create settings for an FMTCTileProvider
Properties
- behavior → CacheBehavior
-
The behavior method to get and cache a tile
final
- cachedValidDuration → Duration
-
The duration until a tile expires and needs to be fetched again when browsing. Also called
validDuration
.final - hashCode → int
-
The hash code for this object.
no setteroverride
- maxStoreLength → int
-
The maximum number of tiles allowed in a cache store (only whilst 'browsing' - see below) before the oldest tile gets deleted. Also called
maxTiles
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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.
override