summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2017-01-12 11:54:07 -0800
committerGitHub <noreply@github.com>2017-01-12 11:54:07 -0800
commit43c6bb0f2436ee7e024082285e7f224e09175f5d (patch)
tree1674c4217ef27954f27bf692a3b85d3b876a7075
parentf1d661ad36923a12c231b4846c9bf4416551860d (diff)
downloadqtlocation-mapboxgl-43c6bb0f2436ee7e024082285e7f224e09175f5d.tar.gz
[ios, macos] Note that MGLShapeSource.shape must be set on main thread (#7687)
* Add Clarification for modifying ShapeCollections Spinoff task from https://github.com/mapbox/mapbox-gl-native/issues/7622 * update wording for both get/set, remove whitespace
-rw-r--r--platform/darwin/src/MGLShapeSource.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLShapeSource.h b/platform/darwin/src/MGLShapeSource.h
index 7d8a645959..a44db69475 100644
--- a/platform/darwin/src/MGLShapeSource.h
+++ b/platform/darwin/src/MGLShapeSource.h
@@ -192,6 +192,9 @@ extern const MGLShapeSourceOption MGLShapeSourceOptionSimplificationTolerance;
If the receiver was initialized using `-initWithIdentifier:URL:options:`, this
property is set to `nil`. This property is unavailable until the receiver is
passed into `-[MGLStyle addSource:]`.
+
+ You can get/set the shapes within a collection via this property. Actions must
+ be performed on the application's main thread.
*/
@property (nonatomic, copy, nullable) MGLShape *shape;