GeoPolygon.withGeoBox constructor
- GeoBox geoBox
Constructs an instance of this class from GeoBox.
geoBoxA rectangle defined by the GeoBox to be converted into GeoPolygon. The corner coordinates defined by the GeoBox will define the outer boundary verticies of the GeoPolygon.
Implementation
factory GeoPolygon.withGeoBox(GeoBox geoBox) => $prototype.withGeoBox(geoBox);