NamedPolygon

constructor(name: String, boundary: List<GeoPoint>)

Parameters

name

The name of the Polygon. It should not be an empty string.

boundary

The GeoPoints of the points in the polygon's boundary. The number of boundary points should be at least 3.