// // MKGeoJSONSerialization.h // MapKit // // Copyright (c) 2019, Apple Inc. All rights reserved. // #import NS_ASSUME_NONNULL_BEGIN API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15)) API_UNAVAILABLE(watchos) @protocol MKGeoJSONObject @end API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15)) API_UNAVAILABLE(watchos) @interface MKGeoJSONDecoder : NSObject - (NSArray> * _Nullable)geoJSONObjectsWithData:(NSData *)data error:(NSError ** _Nullable)errorPtr NS_SWIFT_NAME(decode(_:)); @end API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15)) API_UNAVAILABLE(watchos) @interface MKGeoJSONFeature : NSObject // If set, will be either a string or a number, depending on the original source data @property (nonatomic, readonly, nullable) NSString *identifier; // Serialized JSON @property (nonatomic, readonly, nullable) NSData *properties; @property (nonatomic, readonly) NSArray<__kindof MKShape *> *geometry; @end API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15)) API_UNAVAILABLE(watchos) @interface MKPointAnnotation (MKGeoJSONSerialization) @end API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15)) API_UNAVAILABLE(watchos) @interface MKMultiPoint (MKGeoJSONSerialization) @end API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15)) API_UNAVAILABLE(watchos) @interface MKMultiPolyline (MKGeoJSONSerialization) @end API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15)) API_UNAVAILABLE(watchos) @interface MKMultiPolygon (MKGeoJSONSerialization) @end API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15)) API_UNAVAILABLE(watchos) @interface MKPolyline (MKGeoJSONSerialization) @end API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15)) API_UNAVAILABLE(watchos) @interface MKPolygon (MKGeoJSONSerialization) @end NS_ASSUME_NONNULL_END