From cf2ef5b40bccb9e3e071b4dfdca194f1c2fef85e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Mon, 25 Apr 2016 22:02:06 -0700 Subject: [PATCH] [ios] Use default images for world tour destinations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the default red pin images for world tour destinations in iosapp instead of the two characters usually used for the “Add n Points” actions. --- platform/ios/app/MBXViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/ios/app/MBXViewController.m b/platform/ios/app/MBXViewController.m index 196601d49..995f99072 100644 --- a/platform/ios/app/MBXViewController.m +++ b/platform/ios/app/MBXViewController.m @@ -553,7 +553,7 @@ static const CLLocationCoordinate2D WorldTourDestinations[] = { NSMutableArray *annotations = [NSMutableArray arrayWithCapacity:numberOfAnnotations]; for (NSUInteger i = 0; i < numberOfAnnotations; i++) { - MGLPointAnnotation *annotation = [[MGLPointAnnotation alloc] init]; + MBXDroppedPinAnnotation *annotation = [[MBXDroppedPinAnnotation alloc] init]; annotation.coordinate = WorldTourDestinations[i]; [annotations addObject:annotation]; }