diff options
author | Jason Wray <jason@mapbox.com> | 2019-06-25 11:47:59 -0700 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2019-06-26 13:36:30 -0700 |
commit | e26a60d0c96ba73ae7d50065b6e2800eaa5acee2 (patch) | |
tree | 03342da9eab61d6d140fff4601889044094c5caa /platform/ios | |
parent | 8a9567e072e09a2f5a6da95a2a2ce56b2f05a79b (diff) | |
download | qtlocation-mapboxgl-e26a60d0c96ba73ae7d50065b6e2800eaa5acee2.tar.gz |
[ios] Remove previously deprecated unavailable methods and properties
Diffstat (limited to 'platform/ios')
-rw-r--r-- | platform/ios/CHANGELOG.md | 1 | ||||
-rw-r--r-- | platform/ios/src/MGLMapView.h | 18 |
2 files changed, 1 insertions, 18 deletions
diff --git a/platform/ios/CHANGELOG.md b/platform/ios/CHANGELOG.md index 7c3e96b5a5..8d1fcd1bd4 100644 --- a/platform/ios/CHANGELOG.md +++ b/platform/ios/CHANGELOG.md @@ -13,6 +13,7 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT * `-[MGLMapView showAnnotations:edgePadding:animated:completionHandler:]` * `-[MGLMapView selectAnnotation:animated:completionHandler:]` * Deprecated variants of the above methods without completion handlers. ([#14959](https://github.com/mapbox/mapbox-gl-native/pull/14959)) +* Removed previously deprecated methods and properties that had been marked `unavailable`. ([#15000](https://github.com/mapbox/mapbox-gl-native/pull/15000)) ## 5.1.0 - June 19, 2019 diff --git a/platform/ios/src/MGLMapView.h b/platform/ios/src/MGLMapView.h index f2d77814ac..87c24cd97b 100644 --- a/platform/ios/src/MGLMapView.h +++ b/platform/ios/src/MGLMapView.h @@ -253,8 +253,6 @@ MGL_EXPORT */ @property (nonatomic, readonly, nullable) MGLStyle *style; -@property (nonatomic, readonly) NSArray<NSURL *> *bundledStyleURLs __attribute__((unavailable("Call the relevant class method of MGLStyle for the URL of a particular default style."))); - /** URL of the style currently displayed in the receiver. @@ -423,14 +421,6 @@ MGL_EXPORT */ @property (nonatomic, assign) BOOL prefetchesTiles; -@property (nonatomic) NSArray<NSString *> *styleClasses __attribute__((unavailable("Support for style classes has been removed."))); - -- (BOOL)hasStyleClass:(NSString *)styleClass __attribute__((unavailable("Support for style classes has been removed."))); - -- (void)addStyleClass:(NSString *)styleClass __attribute__((unavailable("Support for style classes has been removed."))); - -- (void)removeStyleClass:(NSString *)styleClass __attribute__((unavailable("Support for style classes has been removed."))); - #pragma mark Displaying the User’s Location /** @@ -1443,8 +1433,6 @@ MGL_EXPORT */ - (CLLocationDistance)metersPerPointAtLatitude:(CLLocationDegrees)latitude; -- (CLLocationDistance)metersPerPixelAtLatitude:(CLLocationDegrees)latitude __attribute__((unavailable("Use `-metersPerPointAtLatitude:`."))); - #pragma mark Annotating the Map /** @@ -1941,12 +1929,6 @@ MGL_EXPORT */ @property (nonatomic) MGLMapDebugMaskOptions debugMask; -@property (nonatomic, getter=isDebugActive) BOOL debugActive __attribute__((unavailable("Use `-debugMask` and `-setDebugMask:`."))); - -- (void)toggleDebug __attribute__((unavailable("Use `-setDebugMask:`."))); - -- (void)emptyMemoryCache __attribute__((unavailable)); - @end NS_ASSUME_NONNULL_END |