diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-04-25 22:02:06 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-04-25 22:02:06 -0700 |
commit | cf2ef5b40bccb9e3e071b4dfdca194f1c2fef85e (patch) | |
tree | 540e81b0321e92fa624cf9fc051b8a79af045b7f | |
parent | e916cc811c781404d305af946ae127d4da338a38 (diff) | |
download | qtlocation-mapboxgl-cf2ef5b40bccb9e3e071b4dfdca194f1c2fef85e.tar.gz |
[ios] Use default images for world tour destinations
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.
-rw-r--r-- | platform/ios/app/MBXViewController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/app/MBXViewController.m b/platform/ios/app/MBXViewController.m index 196601d494..995f99072b 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]; } |