diff options
author | Josh Erb <josh.erb@mapbox.com> | 2018-10-30 18:03:56 -0400 |
---|---|---|
committer | Josh Erb <josh.erb@mapbox.com> | 2018-11-12 14:45:30 -0800 |
commit | 271b78c1309dd9391e9fc315e9d9873381f5999d (patch) | |
tree | 9c195e582180898f977eb7e4eb6a22a1178f4444 /platform/darwin/src/MGLMapCamera.h | |
parent | a3945bf84004ece5116861266a73a60d67beebbe (diff) | |
download | qtlocation-mapboxgl-upstream/je-ios-example-links.tar.gz |
[ios][documentation] link API documentation to ios-sdk/examplesupstream/je-ios-example-links
Diffstat (limited to 'platform/darwin/src/MGLMapCamera.h')
-rw-r--r-- | platform/darwin/src/MGLMapCamera.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLMapCamera.h b/platform/darwin/src/MGLMapCamera.h index ec142939ed..061b1e0df1 100644 --- a/platform/darwin/src/MGLMapCamera.h +++ b/platform/darwin/src/MGLMapCamera.h @@ -9,6 +9,14 @@ NS_ASSUME_NONNULL_BEGIN /** An `MGLMapCamera` object represents a viewpoint from which the user observes some point on an `MGLMapView`. + + #### Related examples + See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/camera-animation/"> + Camera animation</a> example to learn how to create a camera that rotates + around a central point. See the <a href="https://www.mapbox.com/ios-sdk/maps/ + examples/constraining-gestures/">Restrict map panning to an area</a> example + to learn how to restrict map panning using `MGLMapViewDelegate`'s + `-mapView:shouldChangeFromCamera:toCamera:` method. */ MGL_EXPORT @interface MGLMapCamera : NSObject <NSSecureCoding, NSCopying> |