summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorBrent Whitman <brent@arteku.com>2015-06-25 15:00:21 -0700
committerBrent Whitman <brent@arteku.com>2015-06-25 15:00:21 -0700
commit64c05d02e294be4c2ab6ef239964630325adf177 (patch)
tree2c95ab5faac0caff586670b8fb8a148f65891285 /platform
parentae8af8f2eafcfa58129a55b91b22f1c16658076b (diff)
downloadqtlocation-mapboxgl-64c05d02e294be4c2ab6ef239964630325adf177.tar.gz
Fix typo which caused MGLMultiPoint to return longitude as latitude of bounds.
Diffstat (limited to 'platform')
-rw-r--r--platform/ios/MGLMultiPoint.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/MGLMultiPoint.mm b/platform/ios/MGLMultiPoint.mm
index ef8a18e493..5721086e86 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)
};
}