Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[ios, macos] Note that MGLShapeSource.shape must be set on main thread (
Browse files Browse the repository at this point in the history
#7687)

* Add Clarification for modifying ShapeCollections

Spinoff task from #7622

* update wording for both get/set, remove whitespace
  • Loading branch information
1ec5 authored Jan 12, 2017
1 parent f1d661a commit 43c6bb0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions platform/darwin/src/MGLShapeSource.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 43c6bb0

Please sign in to comment.