From e32a0586f2097ad29496636453837f215612ad7b Mon Sep 17 00:00:00 2001 From: Asheem Mamoowala Date: Thu, 5 Apr 2018 18:57:54 -0700 Subject: Change MGLMapPointMake to MGLMapPointForCoordinate --- platform/darwin/test/MGLGeometryTests.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/darwin/test/MGLGeometryTests.mm') 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); -- cgit v1.2.1