BaseRegion class abstract
A geographical region that forms a particular shape
It can be converted to a:
- DownloadableRegion for downloading: toDownloadable
- Widget layer to be placed in a map: toDrawable
- list of
LatLng
s forming the outline: toOutline/LineRegion.toOutlines
Extended/implemented by:
- Implementers
Constructors
- BaseRegion({required String? name})
- Create a geographical region that forms a particular shape
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDownloadable(
int minZoom, int maxZoom, TileLayer options, {int parallelThreads = 10, bool preventRedownload = false, bool seaTileRemoval = false, int start = 0, int? end, Crs crs = const Epsg3857(), void errorHandler(Object?)?}) → DownloadableRegion< List< Object> > - Generate the DownloadableRegion ready for bulk downloading
-
toDrawable(
{Color? fillColor, Color borderColor = const Color(0x00000000), double borderStrokeWidth = 3, bool isDotted = false}) → Widget -
Generate a graphical layer to be placed in a
FlutterMap
-
toOutline(
) → List< LatLng> -
Generate the list of all the
LatLng
s forming the outline of this region -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited