summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLRasterTileSource.h
diff options
context:
space:
mode:
authorJosh Erb <josh.erb@mapbox.com>2018-10-30 18:03:56 -0400
committerJosh Erb <josherb4@gmail.com>2018-11-13 11:39:39 -0800
commitb891a8d6b0dc9e92a283756448b4671bef3da71f (patch)
tree23f717df2919ad7f6d1ef78054476575829f7021 /platform/darwin/src/MGLRasterTileSource.h
parentbf8b24fa8d30df374ee36be781b6a572036187b9 (diff)
downloadqtlocation-mapboxgl-b891a8d6b0dc9e92a283756448b4671bef3da71f.tar.gz
[ios][documentation] link API documentation to ios-sdk/examples
Diffstat (limited to 'platform/darwin/src/MGLRasterTileSource.h')
-rw-r--r--platform/darwin/src/MGLRasterTileSource.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLRasterTileSource.h b/platform/darwin/src/MGLRasterTileSource.h
index 8f00be0ea4..ee5c80a3e8 100644
--- a/platform/darwin/src/MGLRasterTileSource.h
+++ b/platform/darwin/src/MGLRasterTileSource.h
@@ -52,6 +52,11 @@ FOUNDATION_EXTERN MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionTileSi
])
mapView.style?.addSource(source)
```
+
+ #### Related examples
+ See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/source-custom-raster/">
+ Add raster imagery</a> example to learn how to add a `MGLRasterStyleLayer`
+ to your map using an `MGLRasterTileSource`.
*/
MGL_EXPORT
@interface MGLRasterTileSource : MGLTileSource