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/darwin/src/MGLMapSnapshotter.h | |
parent | bf8b24fa8d30df374ee36be781b6a572036187b9 (diff) | |
download | qtlocation-mapboxgl-b891a8d6b0dc9e92a283756448b4671bef3da71f.tar.gz |
[ios][documentation] link API documentation to ios-sdk/examples
Diffstat (limited to 'platform/darwin/src/MGLMapSnapshotter.h')
-rw-r--r-- | platform/darwin/src/MGLMapSnapshotter.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLMapSnapshotter.h b/platform/darwin/src/MGLMapSnapshotter.h index 8281e2a084..de509f73f4 100644 --- a/platform/darwin/src/MGLMapSnapshotter.h +++ b/platform/darwin/src/MGLMapSnapshotter.h @@ -163,6 +163,12 @@ typedef void (^MGLMapSnapshotCompletionHandler)(MGLMapSnapshot* _Nullable snapsh image = snapshot?.image } ``` + + #### Related examples + See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/map-snapshotter/"> + Create a static map snapshot</a> example to learn how to use the + `MGLMapSnapshotter` to generate a static image based on an `MGLMapView` + object's style, camera, and view bounds. */ MGL_EXPORT @interface MGLMapSnapshotter : NSObject |