summaryrefslogtreecommitdiff
path: root/platform/darwin/test/MGLGeometryTests.mm
diff options
context:
space:
mode:
authorAsheem Mamoowala <asheem.mamoowala@mapbox.com>2018-04-05 18:57:54 -0700
committerAsheem Mamoowala <asheem.mamoowala@mapbox.com>2018-04-06 10:06:05 -0700
commite32a0586f2097ad29496636453837f215612ad7b (patch)
tree2309817c3ad72754fd47077017e431b90c501d88 /platform/darwin/test/MGLGeometryTests.mm
parent6f639dba2028e02c85a28f32fcc854ee353f5b25 (diff)
downloadqtlocation-mapboxgl-e32a0586f2097ad29496636453837f215612ad7b.tar.gz
Change MGLMapPointMake to MGLMapPointForCoordinate
Diffstat (limited to 'platform/darwin/test/MGLGeometryTests.mm')
-rw-r--r--platform/darwin/test/MGLGeometryTests.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/test/MGLGeometryTests.mm b/platform/darwin/test/MGLGeometryTests.mm
index 57840d9953..a0ddecf77e 100644
--- a/platform/darwin/test/MGLGeometryTests.mm
+++ b/platform/darwin/test/MGLGeometryTests.mm
@@ -165,7 +165,7 @@
}
- (void)testMGLMapPoint {
- MGLMapPoint point = MGLMapPointMake(CLLocationCoordinate2DMake(37.936, -80.425), 0.0);
+ MGLMapPoint point = MGLMapPointForCoordinate(CLLocationCoordinate2DMake(37.936, -80.425), 0.0);
MGLMapPoint roundTrippedPoint = [NSValue valueWithMGLMapPoint:point].MGLMapPointValue;
XCTAssertEqual(point.x, roundTrippedPoint.x);