Enumerations

The following enumerations are available globally.

  • A feature identifier identifies a Feature object.

    See more

    Declaration

    Swift

    public enum FeatureIdentifier : Hashable
    extension FeatureIdentifier: RawRepresentable
    extension FeatureIdentifier: ExpressibleByStringLiteral
    extension FeatureIdentifier: ExpressibleByIntegerLiteral
    extension FeatureIdentifier: ExpressibleByFloatLiteral
    extension FeatureIdentifier: Codable
  • A GeoJSON object represents a Geometry, Feature, or collection of Features.

    Note

    Foreign members which may be present inside are coded only if used JSONEncoder or JSONDecoder has userInfo[.includesForeignMembers] = true.
    See more

    Declaration

    Swift

    public enum GeoJSONObject : Equatable
    extension GeoJSONObject: Codable
    extension GeoJSONObject: GeoJSONObjectConvertible
  • A Geometry object represents points, curves, and surfaces in coordinate space. Use an instance of this enumeration whenever a value could be any kind of Geometry object.

    See more

    Declaration

    Swift

    public enum Geometry : Equatable
    extension Geometry: GeoJSONObjectConvertible
    extension Geometry: Codable
    extension Geometry: GeometryConvertible
  • A JSON value represents an object, array, or fragment.

    This type does not represent the null value in JSON. Use Optional<JSONValue> wherever null is accepted.

    See more

    Declaration

    Swift

    public enum JSONValue : Hashable
    extension JSONValue: RawRepresentable
    extension JSONValue: ExpressibleByStringLiteral
    extension JSONValue: ExpressibleByIntegerLiteral
    extension JSONValue: ExpressibleByFloatLiteral
    extension JSONValue: ExpressibleByBooleanLiteral
    extension JSONValue: ExpressibleByArrayLiteral
    extension JSONValue: ExpressibleByDictionaryLiteral
    extension JSONValue: Codable