diff options
author | Jordan Kiley <jmkiley@users.noreply.github.com> | 2018-03-20 10:33:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-20 10:33:44 -0700 |
commit | 68fcbf0a7274516555bcc44f932c8bbe8f1eb073 (patch) | |
tree | 197e036611d8da40917d7bd4be1fdc00cb1ca89e /platform/darwin/src/MGLPointCollection.h | |
parent | a2250098f5dc39a4486555e35823d634a8d0b786 (diff) | |
download | qtlocation-mapboxgl-68fcbf0a7274516555bcc44f932c8bbe8f1eb073.tar.gz |
[ios, macos] Document to use subclasses of MGLFeature to access attributes (#11462)
Diffstat (limited to 'platform/darwin/src/MGLPointCollection.h')
-rw-r--r-- | platform/darwin/src/MGLPointCollection.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLPointCollection.h b/platform/darwin/src/MGLPointCollection.h index 74b30385a0..5aab580b4d 100644 --- a/platform/darwin/src/MGLPointCollection.h +++ b/platform/darwin/src/MGLPointCollection.h @@ -15,7 +15,8 @@ You can add point collections to the map by adding them to an `MGLShapeSource` object. Configure the appearance of an `MGLShapeSource`’s or `MGLVectorSource`’s point collections collectively using an - `MGLCircleStyleLayer` or `MGLSymbolStyleLayer` object. + `MGLCircleStyleLayer` or `MGLSymbolStyleLayer` object. To access a point + collection’s attributes, use an `MGLPointCollectionFeature` object. You cannot add an `MGLPointCollection` object directly to a map view as an annotation. However, you can create individual `MGLPointAnnotation` objects |