diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-05-20 08:21:29 -0700 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-05-26 12:14:10 +0200 |
commit | 87b1da761156ec339ab4ccd159e6ba6997f9e7d0 (patch) | |
tree | a5b9bdedbff7f6d4edd6945d5ca4f29523b87c06 /platform | |
parent | f11a9f8fd9f4a53195168518f6ef1efe782f1cf8 (diff) | |
download | qtlocation-mapboxgl-87b1da761156ec339ab4ccd159e6ba6997f9e7d0.tar.gz |
DefaultFileSource has responsibility for handling mapbox:// URLs
Diffstat (limited to 'platform')
-rw-r--r-- | platform/ios/MGLMapView.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/MGLMapView.mm b/platform/ios/MGLMapView.mm index bdbfbd0722..fb8da76908 100644 --- a/platform/ios/MGLMapView.mm +++ b/platform/ios/MGLMapView.mm @@ -1303,7 +1303,7 @@ std::chrono::steady_clock::duration secondsAsDuration(float duration) if ([keyPath isEqualToString:@"accessToken"] && object == [MGLAccountManager sharedManager]) { NSString *accessToken = change[NSKeyValueChangeNewKey]; - _mbglMap->setAccessToken(accessToken ? (std::string)[accessToken UTF8String] : ""); + _mbglFileSource->setAccessToken(accessToken ? (std::string)[accessToken UTF8String] : ""); } } |