summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLPointAnnotation.h
diff options
context:
space:
mode:
authorJordan Kiley <jmkiley@users.noreply.github.com>2018-03-20 10:33:44 -0700
committerGitHub <noreply@github.com>2018-03-20 10:33:44 -0700
commit68fcbf0a7274516555bcc44f932c8bbe8f1eb073 (patch)
tree197e036611d8da40917d7bd4be1fdc00cb1ca89e /platform/darwin/src/MGLPointAnnotation.h
parenta2250098f5dc39a4486555e35823d634a8d0b786 (diff)
downloadqtlocation-mapboxgl-68fcbf0a7274516555bcc44f932c8bbe8f1eb073.tar.gz
[ios, macos] Document to use subclasses of MGLFeature to access attributes (#11462)
Diffstat (limited to 'platform/darwin/src/MGLPointAnnotation.h')
-rw-r--r--platform/darwin/src/MGLPointAnnotation.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLPointAnnotation.h b/platform/darwin/src/MGLPointAnnotation.h
index 1ef0962f99..78b92f45ac 100644
--- a/platform/darwin/src/MGLPointAnnotation.h
+++ b/platform/darwin/src/MGLPointAnnotation.h
@@ -28,7 +28,8 @@ NS_ASSUME_NONNULL_BEGIN
default content of the annotation’s callout (on iOS) or popover (on macOS).
To group multiple related points together in one shape, use an
- `MGLPointCollection` or `MGLShapeCollection` object.
+ `MGLPointCollection` or `MGLShapeCollection` object. To access
+ a point’s attributes, use an `MGLPointFeature` object.
A point shape is known as a
<a href="https://tools.ietf.org/html/rfc7946#section-3.1.2">Point</a> geometry