summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-12-15 12:51:15 -0800
committerMinh Nguyễn <mxn@1ec5.org>2015-12-15 12:52:13 -0800
commit4e0e8166539a03fb5180b813b27d8fff87850a37 (patch)
treec05687465673afaea1d81b0b276b4da913cc8c47 /ios
parent5dd00d10720652852ede07b82a25c88cddc4892c (diff)
downloadqtlocation-mapboxgl-4e0e8166539a03fb5180b813b27d8fff87850a37.tar.gz
[ios, osx] Added flyToCamera: variation that uses default duration
Diffstat (limited to 'ios')
-rw-r--r--ios/app/MBXViewController.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/app/MBXViewController.mm b/ios/app/MBXViewController.mm
index d8261395c1..7e19382f9a 100644
--- a/ios/app/MBXViewController.mm
+++ b/ios/app/MBXViewController.mm
@@ -379,7 +379,7 @@ static const CLLocationCoordinate2D WorldTourDestinations[] = {
pitch:arc4random_uniform(60)
heading:arc4random_uniform(360)];
__weak MBXViewController *weakSelf = self;
- [self.mapView flyToCamera:camera withDuration:0 completionHandler:^{
+ [self.mapView flyToCamera:camera completionHandler:^{
MBXViewController *strongSelf = weakSelf;
[strongSelf performSelector:@selector(continueWorldTourWithRemainingAnnotations:)
withObject:annotations