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

Commit

Permalink
Add Clarification for modifying ShapeCollections
Browse files Browse the repository at this point in the history
Spinoff task from #7622
  • Loading branch information
nitrag authored and 1ec5 committed Jan 11, 2017
1 parent 57644b2 commit 19d1216
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion platform/darwin/src/MGLShapeSource.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,14 @@ extern const MGLShapeSourceOption MGLShapeSourceOptionSimplificationTolerance;

/**
The contents of the source. A shape can represent a GeoJSON geometry, a
feature, or a collection of features.
feature, or a collection of features.
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. Setting
this property must be performed on the application's main thread.
*/
@property (nonatomic, copy, nullable) MGLShape *shape;

Expand Down

0 comments on commit 19d1216

Please sign in to comment.