coordinates property

List<Coordinates> coordinates
getter/setter pair

The ordered list of coordinates defining the polygon boundary.

Each coordinate represents a vertex of the polygon. The boundary is formed by connecting consecutive coordinates, with the last coordinate automatically connected to the first to close the polygon shape.

A valid polygon should have at least 3 coordinates to form a proper area.

Implementation

List<Coordinates> coordinates;