Collection
protocol Collection : Sequence
-
Returns centroid of polygon with this list of coordinates.
Declaration
Swift
public func centroid() -> CLLocationCoordinate2DReturn Value
Centroid of polygon formed by this list of coordinates.
-
Returns
MinMaxLonLatof this collection’s coordinates.Declaration
Swift
public func minMaxLatLon() -> MinMaxLatLon?Return Value
MinMaxLonLatof this collection’s coordinates. Will returnniliff there are no coordinates in this collection.
-
Returns
MinMaxLonLatcovered by polygons in this collection.Declaration
Swift
public func minMaxLatLon() -> MinMaxLatLon?Return Value
MinMaxLonLatcovered by polygons in this collection.niliff collection has no polygons.
-
Returns multipolygon for this collection of polygons.
Declaration
Swift
public func wktMultipolygonString() -> String
View on GitHub
Install in Dash
Collection Extension Reference