RectangleRegion class

A rectangular region with two or more corners

Implemented types

Constructors

RectangleRegion(LatLngBounds bounds)
Creates a rectangular region using two or more corners

Properties

bounds → LatLngBounds
The LatLngBounds used to create the rectangle
final
hashCode int
The hash code for this object.
no setterinherited
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
toDownloadable(int minZoom, int maxZoom, TileLayerOptions options, {int parallelThreads = 10, bool preventRedownload = false, bool seaTileRemoval = false, int start = 0, int? end, Crs crs = const Epsg3857(), void errorHandler(Object?)?}) DownloadableRegion
Create a downloadable region out of this region - for more information see DownloadableRegion's properties' documentation
override
toDrawable({Color? fillColor, Color borderColor = const Color(0x00000000), double borderStrokeWidth = 3.0, bool isDotted = false, String? label, TextStyle labelStyle = const TextStyle(), PolygonLabelPlacement labelPlacement = PolygonLabelPlacement.polylabel}) → PolygonLayerOptions
Create a drawable area for a FlutterMap out of this region
override
toList() List<LatLng>
Create a list of all the LatLngs along the outline of this region
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited