From 43c6bb0f2436ee7e024082285e7f224e09175f5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Thu, 12 Jan 2017 11:54:07 -0800 Subject: [PATCH] [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 --- platform/darwin/src/MGLShapeSource.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform/darwin/src/MGLShapeSource.h b/platform/darwin/src/MGLShapeSource.h index 7d8a6459594..a44db694754 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;