diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2015-12-15 12:51:15 -0800 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2015-12-15 12:52:13 -0800 |
commit | 4e0e8166539a03fb5180b813b27d8fff87850a37 (patch) | |
tree | c05687465673afaea1d81b0b276b4da913cc8c47 /ios | |
parent | 5dd00d10720652852ede07b82a25c88cddc4892c (diff) | |
download | qtlocation-mapboxgl-4e0e8166539a03fb5180b813b27d8fff87850a37.tar.gz |
[ios, osx] Added flyToCamera: variation that uses default duration
Diffstat (limited to 'ios')
-rw-r--r-- | ios/app/MBXViewController.mm | 2 |
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 |