summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLImageSource.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/MGLImageSource.h')
-rw-r--r--platform/darwin/src/MGLImageSource.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLImageSource.h b/platform/darwin/src/MGLImageSource.h
index 21487d9739..5eac5e21bf 100644
--- a/platform/darwin/src/MGLImageSource.h
+++ b/platform/darwin/src/MGLImageSource.h
@@ -41,6 +41,11 @@ MGL_EXPORT
let source = MGLImageSource(identifier: "radar", coordinateQuad: coordinates, url: URL(string: "https://www.mapbox.com/mapbox-gl-js/assets/radar.gif")!)
mapView.style?.addSource(source)
```
+
+ #### Related examples
+ See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/image-source/">
+ Add an image</a> example to learn how to add an image to your map using
+ `MGLImageSource`.
*/
MGL_EXPORT
@interface MGLImageSource : MGLSource