We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
GeoJSONType
1 parent 7ab2232 commit 82037eaCopy full SHA for 82037ea
1 file changed
Sources/GeoJSONKit/GeoJSON.swift
@@ -129,7 +129,7 @@ public struct GeoJSON: Hashable {
129
130
}
131
132
- public enum GeoJSONType: String, Codable {
+ public enum GeoJSONType: String, Codable, CaseIterable {
133
case feature = "Feature"
134
case featureCollection = "FeatureCollection"
135
case point = "Point"
@@ -386,7 +386,7 @@ public struct GeoJSON: Hashable {
386
387
388
389
- public let type: GeoJSONType
+ public var type: GeoJSONType
390
public var object: GeoJSONObject
391
392
/// A GeoJSON object MAY have a member named "bbox" to include
0 commit comments