DownloadableRegion class
A downloadable region to be passed to bulk download functions
Should avoid manual construction. Use a supported region shape and the .toDownloadable()
extension on it.
Is returned from .toDownloadable()
.
Constructors
-
DownloadableRegion.internal({required List<
LatLng> points, required int minZoom, required int maxZoom, required TileLayerOptions options, required RegionType type, required BaseRegion originalRegion, required int parallelThreads, required bool preventRedownload, required bool seaTileRemoval, required int start, required int? end, required Crs crs, required dynamic errorHandler(Object?)?}) - Avoid construction using this method. Use BaseRegion.toDownloadable to generate DownloadableRegions from other regions.
Properties
- crs → Crs
-
The map projection to use to calculate tiles. Defaults to
Espg3857()
.final - end → int?
-
Optionally skip a number of tiles 'at the end' of a region
final
- errorHandler → (dynamic Function(Object?)?)
-
A function that takes any type of error as an argument to be called in the event a tile fetch fails
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- maxZoom → int
-
The maximum zoom level to fetch tiles for
final
- minZoom → int
-
The minimum zoom level to fetch tiles for
final
- options → TileLayerOptions
-
The options used to fetch tiles
final
- originalRegion → BaseRegion
-
The original BaseRegion, used internally for recovery purposes
final
- parallelThreads → int
-
The number of download threads allowed to run simultaneously
final
-
points
→ List<
LatLng> -
All the vertices on the outline of a polygon
final
- preventRedownload → bool
-
Whether to skip downloading tiles that already exist
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seaTileRemoval → bool
-
Whether to remove tiles that are entirely sea
final
- start → int
-
Optionally skip past a number of tiles 'at the start' of a region
final
- type → RegionType
-
The shape that this region conforms to
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override