diff options
author | Josh Erb <josh.erb@mapbox.com> | 2018-10-30 18:03:56 -0400 |
---|---|---|
committer | Josh Erb <josherb4@gmail.com> | 2018-11-13 11:39:39 -0800 |
commit | b891a8d6b0dc9e92a283756448b4671bef3da71f (patch) | |
tree | 23f717df2919ad7f6d1ef78054476575829f7021 /platform/ios/src/MGLAnnotationView.h | |
parent | bf8b24fa8d30df374ee36be781b6a572036187b9 (diff) | |
download | qtlocation-mapboxgl-b891a8d6b0dc9e92a283756448b4671bef3da71f.tar.gz |
[ios][documentation] link API documentation to ios-sdk/examples
Diffstat (limited to 'platform/ios/src/MGLAnnotationView.h')
-rw-r--r-- | platform/ios/src/MGLAnnotationView.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/platform/ios/src/MGLAnnotationView.h b/platform/ios/src/MGLAnnotationView.h index 57d97e56c1..61fd22f1c2 100644 --- a/platform/ios/src/MGLAnnotationView.h +++ b/platform/ios/src/MGLAnnotationView.h @@ -222,6 +222,11 @@ MGL_EXPORT if it should display itself as unselected. @param animated `YES` if the change in selection state is animated; `NO` if the change is immediate. + + #### Related examples + See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/annotation-vie + ws/">Annotation views</a> example to learn how to modify an + `MGLAnnotationView`'s behavior when it is selected. */ - (void)setSelected:(BOOL)selected animated:(BOOL)animated; @@ -250,6 +255,11 @@ MGL_EXPORT attempting to stop an operation that has already been initiated; doing so can lead to undefined behavior. Once begun, the drag operation should always continue to completion. + + #### Related examples + See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/draggable-views + /">Draggable annotation views</a> to learn how to enable users to drag + `MGLAnnotationView` objects on your map. */ @property (nonatomic, assign, getter=isDraggable) BOOL draggable; |