FeatureCollection
public struct FeatureCollection : Equatable, ForeignMemberContainer
extension FeatureCollection: Codable
extension FeatureCollection: GeoJSONObjectConvertible
A FeatureCollection object is a collection of Feature objects.
-
The features that the collection contains.
Declaration
Swift
public var features: [Feature]
-
Declaration
Swift
public var foreignMembers: JSONObject
-
Initializes a feature collection containing the given features.
Declaration
Swift
public init(features: [Feature])
Parameters
features
The features that the collection contains.
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Declaration
Swift
public var geoJSONObject: GeoJSONObject { get }