From 7f75eb5d6ae014391f3baf066a9873c5fb1c1ded Mon Sep 17 00:00:00 2001 From: Jesse Bounds Date: Fri, 9 Dec 2016 16:09:10 -0800 Subject: [ios, macos] Rename MGLGeoJSONSource to MGLShapeSource (#7334) --- platform/darwin/test/MGLLineStyleLayerTests.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/darwin/test/MGLLineStyleLayerTests.m') diff --git a/platform/darwin/test/MGLLineStyleLayerTests.m b/platform/darwin/test/MGLLineStyleLayerTests.m index e313b55bc7..49dd1f2198 100644 --- a/platform/darwin/test/MGLLineStyleLayerTests.m +++ b/platform/darwin/test/MGLLineStyleLayerTests.m @@ -11,7 +11,7 @@ - (void)testLineLayer { NSString *filePath = [[NSBundle bundleForClass:self.class] pathForResource:@"amsterdam" ofType:@"geojson"]; NSURL *url = [NSURL fileURLWithPath:filePath]; - MGLGeoJSONSource *source = [[MGLGeoJSONSource alloc] initWithIdentifier:@"sourceID" URL:url options:nil]; + MGLShapeSource *source = [[MGLShapeSource alloc] initWithIdentifier:@"sourceID" URL:url options:nil]; [self.mapView.style addSource:source]; MGLLineStyleLayer *layer = [[MGLLineStyleLayer alloc] initWithIdentifier:@"layerID" source:source]; [self.mapView.style addLayer:layer]; -- cgit v1.2.1