summaryrefslogtreecommitdiff
path: root/platform/ios/MGLMapView.mm
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/MGLMapView.mm')
-rw-r--r--platform/ios/MGLMapView.mm18
1 files changed, 0 insertions, 18 deletions
diff --git a/platform/ios/MGLMapView.mm b/platform/ios/MGLMapView.mm
index 6977b1de24..0e7547ef1b 100644
--- a/platform/ios/MGLMapView.mm
+++ b/platform/ios/MGLMapView.mm
@@ -172,24 +172,6 @@ std::chrono::steady_clock::duration secondsAsDuration(float duration)
return self;
}
-- (nullable NSString *)accessToken
-{
- [NSException raise:@"Method unavailable" format:
- @"%s has been removed. "
- @"Use +[MGLAccountManager accessToken] or get MGLMapboxAccessToken from the Info.plist.",
- __PRETTY_FUNCTION__];
- return nil;
-}
-
-- (void)setAccessToken:(nullable NSString *)accessToken
-{
- [NSException raise:@"Method unavailable" format:
- @"%s has been replaced by +[MGLAccountManager setAccessToken:].\n\n"
- @"If you previously set this access token in a storyboard inspectable, select the MGLMapView in Interface Builder and delete the “accessToken” entry from the User Defined Runtime Attributes section of the Identity inspector. "
- @"Then go to the Info.plist file and set MGLMapboxAccessToken to “%@”.",
- __PRETTY_FUNCTION__, accessToken];
-}
-
+ (NS_SET_OF(NSString *) *)keyPathsForValuesAffectingStyleURL
{
return [NSSet setWithObjects:@"styleURL__", nil];