GeometryData

public struct GeometryData

GeoJSON represeted by GeometryData

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • Create a new GeometryData

    Declaration

    Swift

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

    Parameters

    identifier

    Identifies given geometry shape

    type

    Type of geometry data

    features

    List of features.

Public

  • 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]