RectangleRegion constructor
const
RectangleRegion(
- LatLngBounds bounds
A geographically rectangular region based off coordinate bounds
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
Implementation
const RectangleRegion(this.bounds);