diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2015-11-24 10:00:11 -0800 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2015-11-24 13:27:19 -0800 |
commit | 062746291bbd99077d5e54a29f814008cceaf2ab (patch) | |
tree | ac6358e6db23bceccad98aea3dbb3580503ca7e6 /ios/app | |
parent | f782f5eeb793bc4489a906969ab4774a2befbbb8 (diff) | |
download | qtlocation-mapboxgl-062746291bbd99077d5e54a29f814008cceaf2ab.tar.gz |
Demonstrate show annotations in iosapp
ref #3110
Diffstat (limited to 'ios/app')
-rw-r--r-- | ios/app/MBXViewController.mm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ios/app/MBXViewController.mm b/ios/app/MBXViewController.mm index 6380406eec..2acfe8c297 100644 --- a/ios/app/MBXViewController.mm +++ b/ios/app/MBXViewController.mm @@ -281,12 +281,7 @@ static UIColor *const kTintColor = [UIColor colorWithRed:0.120 green:0.550 blue: dispatch_async(dispatch_get_main_queue(), ^ { [self.mapView addAnnotations:annotations]; - - [self.mapView setCenterCoordinate:CLLocationCoordinate2DMake(38.904722, -77.016389) - zoomLevel:10 - animated:NO]; - - [self.mapView setDirection:0]; + [self.mapView showAnnotations:annotations animated:YES]; }); } }); |