// // MKMapSnapshotOptions.h // MapKit // // Copyright (c) 2013-2014, Apple Inc. All rights reserved. // #import #if __has_include() || !TARGET_OS_IPHONE #import #import #import @class MKPointOfInterestFilter; NS_ASSUME_NONNULL_BEGIN NS_CLASS_AVAILABLE(10_9, 7_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos) @interface MKMapSnapshotOptions : NSObject @property (nonatomic, copy) MKMapCamera *camera; @property (nonatomic, assign) MKMapRect mapRect; @property (nonatomic, assign) MKCoordinateRegion region; @property (nonatomic, assign) MKMapType mapType; @property (nonatomic, copy, nullable) MKPointOfInterestFilter *pointOfInterestFilter API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos); @property (nonatomic) BOOL showsPointsOfInterest API_DEPRECATED("Use pointOfInterestFilter", macos(10.9, 10.15), ios(7.0, 13.0), tvos(9.2, 13.0)) API_UNAVAILABLE(watchos); // Affects MKMapTypeStandard and MKMapTypeHybrid @property (nonatomic) BOOL showsBuildings; // Affects MKMapTypeStandard // The size of the image to create. Defaults to 256x256 #if TARGET_OS_IPHONE @property (nonatomic, assign) CGSize size; #else @property (nonatomic, assign) NSSize size; @property (nonatomic, nullable, strong) NSAppearance *appearance API_AVAILABLE(macos(10.14)) API_UNAVAILABLE(ios, tvos, watchos); #endif #if TARGET_OS_IPHONE // Defaults to the device's screen scale @property (nonatomic, assign) CGFloat scale API_DEPRECATED("Use traitCollection.displayScale", ios(7.0, API_TO_BE_DEPRECATED), tvos(9.2, API_TO_BE_DEPRECATED)); @property (nonatomic, copy) UITraitCollection *traitCollection API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(macos); #endif @end NS_ASSUME_NONNULL_END #endif