PolygonViewData

data class PolygonViewData(val geoLocations: List<GeoLocationViewData>)

The data necessary for displaying the Polygon on the View.

Constructors

Link copied to clipboard
constructor(geoLocations: List<GeoLocationViewData>)

Properties

Link copied to clipboard

The list of GeoLocation objects defining the vertices of the polygon. Note: The list should be closed (first and last point should be the same) to represent a complete polygon on a map.