GeoPolygon.withGeoBox constructor

GeoPolygon.withGeoBox(
  1. GeoBox geoBox
)

Constructs an instance of this class from GeoBox.

  • geoBox A 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);