GeometryData

public struct GeometryData

GeoJSON represented by GeometryData.

  • Creates a new GeometryData.

    Declaration

    Swift

    public init(id: String, type: String, features: [Feature])

    Parameters

    id

    Identifies given geometry shape.

    type

    Type of geometry data.

    features

    List of features.

  • id

    Identifies given geometry shape.

    Declaration

    Swift

    public let id: String
  • Type of geometry data.

    Declaration

    Swift

    public let type: String
  • List of features.

    Declaration

    Swift

    public let features: [Feature]