GeometryCollection
public struct GeometryCollection : Equatable, ForeignMemberContainer
extension GeometryCollection: Codable
extension GeometryCollection: GeometryConvertible
A GeometryCollection geometry is a heterogeneous collection of Geometry objects that are related.
-
The geometries contained by the geometry collection.
Declaration
Swift
public var geometries: [Geometry] -
Declaration
Swift
public var foreignMembers: JSONObject -
Initializes a geometry collection defined by the given geometries.
Declaration
Swift
public init(geometries: [Geometry])Parameters
geometriesThe geometries contained by the geometry collection.
-
Initializes a geometry collection coincident to the given multipolygon.
You should only use this initializer if you intend to add geometries other than multipolygons to the geometry collection after initializing it.
Declaration
Swift
public init(_ multiPolygon: MultiPolygon)Parameters
multiPolygonThe multipolygon that is coincident to the geometry collection.
-
Declaration
Swift
public init(from decoder: Decoder) throws -
Declaration
Swift
public func encode(to encoder: Encoder) throws -
Declaration
Swift
public var geometry: Geometry { get }
View on GitHub
Install in Dash
GeometryCollection Structure Reference