From 062746291bbd99077d5e54a29f814008cceaf2ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Tue, 24 Nov 2015 10:00:11 -0800 Subject: [PATCH] Demonstrate show annotations in iosapp ref #3110 --- ios/app/MBXViewController.mm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ios/app/MBXViewController.mm b/ios/app/MBXViewController.mm index 6380406ee..2acfe8c29 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]; }); } });