Feature
public struct Feature
Feature
Important
This is a Public Preview API. It may be changed or removed at any time.-
Create a new
FeatureDeclaration
Swift
public init(type: String, properties: [String : Any]?, geometry: Geometry?, id: String, bbox: [Double])Parameters
typeFeature type.
propertiesProperties object.
geometryObject representing geometry.
idID of the feature.
-
Feature type.
Declaration
Swift
public let type: String -
Properties object.
Declaration
Swift
public let properties: [String : Any]? -
Object representing geometry.
Declaration
Swift
public let geometry: Geometry? -
ID of the feature.
Declaration
Swift
public let id: String -
Bounding box
Declaration
Swift
public let bbox: [Double]
Feature Structure Reference