diff options
author | jmkiley <jordan.kiley@mapbox.com> | 2018-04-19 14:42:11 -0700 |
---|---|---|
committer | jmkiley <jordan.kiley@mapbox.com> | 2018-04-19 14:42:11 -0700 |
commit | df84e0138db6e48b407b3d9f1e8d820c6c231551 (patch) | |
tree | 166368175272a7c07f703adb2ae42481a5d4d7b2 | |
parent | 0d34d6432d99af157d607d98038dea8689b1bc24 (diff) | |
download | qtlocation-mapboxgl-df84e0138db6e48b407b3d9f1e8d820c6c231551.tar.gz |
[ios, macos] failing tests
-rw-r--r-- | platform/darwin/test/MGLDocumentationGuideTests.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/test/MGLDocumentationGuideTests.swift b/platform/darwin/test/MGLDocumentationGuideTests.swift index 5c0d8164d3..437d37766b 100644 --- a/platform/darwin/test/MGLDocumentationGuideTests.swift +++ b/platform/darwin/test/MGLDocumentationGuideTests.swift @@ -79,7 +79,7 @@ class MGLDocumentationGuideTests: XCTestCase, MGLMapViewDelegate { //#-example-code let url = URL(string: "https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_week.geojson")! let symbolSource = MGLSource(identifier: "source") - let symbolLayer = MGLSymbolStyleLayer(identifier: "place-city-sm", source: symbolSource) + let symbolLayer = mapView.style?.layer(withIdentifier: "place-city-sm")! let source = MGLShapeSource(identifier: "earthquakes", url: url, options: nil) mapView.style?.addSource(source) |