summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Rex <julian.rex@mapbox.com>2018-11-26 11:58:34 -0500
committerJulian Rex <julian.rex@mapbox.com>2019-01-12 14:36:51 -0500
commit08de82be39d54f6d83353ce5cb5e930caea0d7b1 (patch)
treeaba2bdc3242f8044c014acbd55d86c28662c9d86
parentddcd83f02d95a50c4a1405b661cbd32946fcc28f (diff)
downloadqtlocation-mapboxgl-08de82be39d54f6d83353ce5cb5e930caea0d7b1.tar.gz
Documentation nits.
-rw-r--r--platform/darwin/src/MGLShapeSource.h2
-rw-r--r--platform/darwin/test/MGLDocumentationExampleTests.swift2
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLShapeSource.h b/platform/darwin/src/MGLShapeSource.h
index 0b08ddf95d..0263c39c58 100644
--- a/platform/darwin/src/MGLShapeSource.h
+++ b/platform/darwin/src/MGLShapeSource.h
@@ -351,7 +351,7 @@ MGL_EXPORT
@note The returned array may contain the `cluster` that was passed in, if the next
zoom level doesn't the zoom level for expanding that cluster. See
- `-[MGLShapeSource zoomLevelForExpandingCluster:`.
+ `-[MGLShapeSource zoomLevelForExpandingCluster:]`.
*/
- (NSArray<id <MGLFeature>> *)childrenOfCluster:(id<MGLCluster>)cluster;
diff --git a/platform/darwin/test/MGLDocumentationExampleTests.swift b/platform/darwin/test/MGLDocumentationExampleTests.swift
index f29e03bde4..e7420b2aa4 100644
--- a/platform/darwin/test/MGLDocumentationExampleTests.swift
+++ b/platform/darwin/test/MGLDocumentationExampleTests.swift
@@ -374,7 +374,7 @@ class MGLDocumentationExampleTests: XCTestCase, MGLMapViewDelegate {
return MGLDocumentationExampleTests.styleURL
}
}
-
+
//#-example-code
let camera = MGLMapCamera(lookingAtCenter: CLLocationCoordinate2D(latitude: 37.7184, longitude: -122.4365), altitude: 100, pitch: 20, heading: 0)