From 64c05d02e294be4c2ab6ef239964630325adf177 Mon Sep 17 00:00:00 2001 From: Brent Whitman Date: Thu, 25 Jun 2015 15:00:21 -0700 Subject: [PATCH] Fix typo which caused MGLMultiPoint to return longitude as latitude of bounds. --- platform/ios/MGLMultiPoint.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/ios/MGLMultiPoint.mm b/platform/ios/MGLMultiPoint.mm index ef8a18e49..5721086e8 100644 --- a/platform/ios/MGLMultiPoint.mm +++ b/platform/ios/MGLMultiPoint.mm @@ -85,7 +85,7 @@ { return { CLLocationCoordinate2DMake(_bounds.sw.latitude, _bounds.sw.longitude), - CLLocationCoordinate2DMake(_bounds.ne.longitude, _bounds.ne.longitude) + CLLocationCoordinate2DMake(_bounds.ne.latitude, _bounds.ne.longitude) }; }