Collection
protocol Collection : Sequence
-
Returns centroid of polygon with this list of coordinates.
Declaration
Swift
public func centroid() -> CLLocationCoordinate2D
Return Value
Centroid of polygon formed by this list of coordinates.
-
Returns
MinMaxLonLat
of this collection’s coordinates.Declaration
Swift
public func minMaxLatLon() -> MinMaxLatLon?
Return Value
MinMaxLonLat
of this collection’s coordinates. Will returnnil
iff there are no coordinates in this collection.
-
Returns
MinMaxLonLat
covered by polygons in this collection.Declaration
Swift
public func minMaxLatLon() -> MinMaxLatLon?
Return Value
MinMaxLonLat
covered by polygons in this collection.nil
iff collection has no polygons.
-
Returns multipolygon for this collection of polygons.
Declaration
Swift
public func wktMultipolygonString() -> String