diff options
author | Nadia Barbosa <nadiabarbosa@me.com> | 2019-01-17 17:15:38 -0800 |
---|---|---|
committer | Nadia Barbosa <captainbarbosa@users.noreply.github.com> | 2019-01-23 13:16:28 -0800 |
commit | 332c1ac96a13542bded2ebd87173ee93c8026f63 (patch) | |
tree | 4e7f3ca146704b7e7d9776d478e3f52421f35759 /platform/darwin/src | |
parent | 24b4ddf41628a0b0f3f0d59ac00db57ccd99a39e (diff) | |
download | qtlocation-mapboxgl-332c1ac96a13542bded2ebd87173ee93c8026f63.tar.gz |
[ios] Fix links in documentation
[ios] Update to docs.mapbox.com
Update links
Diffstat (limited to 'platform/darwin/src')
-rw-r--r-- | platform/darwin/src/MGLAccountManager.h | 2 | ||||
-rw-r--r-- | platform/darwin/src/MGLCircleStyleLayer.h | 8 | ||||
-rw-r--r-- | platform/darwin/src/MGLFillExtrusionStyleLayer.h | 5 | ||||
-rw-r--r-- | platform/darwin/src/MGLFillStyleLayer.h | 10 | ||||
-rw-r--r-- | platform/darwin/src/MGLHeatmapStyleLayer.h | 2 | ||||
-rw-r--r-- | platform/darwin/src/MGLHillshadeStyleLayer.h | 2 | ||||
-rw-r--r-- | platform/darwin/src/MGLLight.h | 8 | ||||
-rw-r--r-- | platform/darwin/src/MGLLineStyleLayer.h | 12 | ||||
-rw-r--r-- | platform/darwin/src/MGLRasterDEMSource.h | 2 | ||||
-rw-r--r-- | platform/darwin/src/MGLRasterStyleLayer.h | 11 | ||||
-rw-r--r-- | platform/darwin/src/MGLSymbolStyleLayer.h | 13 | ||||
-rw-r--r-- | platform/darwin/src/MGLTileSource.h | 2 |
12 files changed, 37 insertions, 40 deletions
diff --git a/platform/darwin/src/MGLAccountManager.h b/platform/darwin/src/MGLAccountManager.h index 436e45ca9b..b539b2ee8c 100644 --- a/platform/darwin/src/MGLAccountManager.h +++ b/platform/darwin/src/MGLAccountManager.h @@ -15,7 +15,7 @@ MGL_EXPORT /** The - <a href="https://www.mapbox.com/help/define-access-token/">Mapbox access token</a> + <a href="https://docs.mapbox.com/help/glossary/access-token/">Mapbox access token</a> used by all instances of `MGLMapView` in the current application. Mapbox-hosted vector tiles and styles require an API access token, which you diff --git a/platform/darwin/src/MGLCircleStyleLayer.h b/platform/darwin/src/MGLCircleStyleLayer.h index 4b6a37fb86..e2b043a729 100644 --- a/platform/darwin/src/MGLCircleStyleLayer.h +++ b/platform/darwin/src/MGLCircleStyleLayer.h @@ -80,11 +80,11 @@ typedef NS_ENUM(NSUInteger, MGLCircleTranslationAnchor) { #### Related examples See the <a - href="https://www.mapbox.com/ios-sdk/maps/examples/dds-circle-layer/">Data-driven + href="https://docs.mapbox.com/ios/maps/examples/dds-circle-layer/">Data-driven circles</a>, <a - href="https://www.mapbox.com/ios-sdk/maps/examples/shape-collection/">Add - multiple shapes from a single shape source</a>, and <a - href="https://www.mapbox.com/ios-sdk/maps/examples/clustering/">Cluster point + href="https://docs.mapbox.com/ios/maps/examples/shape-collection/">Add multiple + shapes from a single shape source</a>, and <a + href="https://docs.mapbox.com/ios/maps/examples/clustering/">Cluster point data</a> examples to learn how to add circles to your map using this style layer. diff --git a/platform/darwin/src/MGLFillExtrusionStyleLayer.h b/platform/darwin/src/MGLFillExtrusionStyleLayer.h index 98eb6b3c20..adb215c413 100644 --- a/platform/darwin/src/MGLFillExtrusionStyleLayer.h +++ b/platform/darwin/src/MGLFillExtrusionStyleLayer.h @@ -41,9 +41,8 @@ typedef NS_ENUM(NSUInteger, MGLFillExtrusionTranslationAnchor) { `-[MGLStyle addLayer:]`. #### Related examples - See the <a - href="https://www.mapbox.com/ios-sdk/maps/examples/extrusions/">Display 3D - buildings</a> example to learn how to add and style 3D layers on a map. + See the <a href="https://docs.mapbox.com/ios/maps/examples/extrusions/">Display + 3D buildings</a> example to learn how to add and style 3D layers on a map. ### Example diff --git a/platform/darwin/src/MGLFillStyleLayer.h b/platform/darwin/src/MGLFillStyleLayer.h index 4eaf9b53ba..b6f0e9bd06 100644 --- a/platform/darwin/src/MGLFillStyleLayer.h +++ b/platform/darwin/src/MGLFillStyleLayer.h @@ -41,11 +41,11 @@ typedef NS_ENUM(NSUInteger, MGLFillTranslationAnchor) { #### Related examples See the <a - href="https://www.mapbox.com/ios-sdk/maps/examples/select-layer/">Select a - feature within a layer</a> example to learn how to use a `TERNARY` expression - to modify the `fillOpacity` of an `MGLFillStyleLayer` object. See the <a - href="https://www.mapbox.com/ios-sdk/maps/examples/fill-pattern/">Add a pattern - to a polygon</a> example to learn how to use an image to add pattern to the + href="https://docs.mapbox.com/ios/maps/examples/select-layer/">Select a feature + within a layer</a> example to learn how to use a `TERNARY` expression to modify + the `fillOpacity` of an `MGLFillStyleLayer` object. See the <a + href="https://docs.mapbox.com/ios/maps/examples/fill-pattern/">Add a pattern to + a polygon</a> example to learn how to use an image to add pattern to the features styled by a `MGLFillStyleLayer`. ### Example diff --git a/platform/darwin/src/MGLHeatmapStyleLayer.h b/platform/darwin/src/MGLHeatmapStyleLayer.h index 086f335746..3c6dfbc296 100644 --- a/platform/darwin/src/MGLHeatmapStyleLayer.h +++ b/platform/darwin/src/MGLHeatmapStyleLayer.h @@ -34,7 +34,7 @@ NS_ASSUME_NONNULL_BEGIN #### Related examples See the <a - href="https://www.mapbox.com/ios-sdk/maps/examples/heatmap-example/">Create a + href="https://docs.mapbox.com/ios/maps/examples/heatmap-example/">Create a heatmap layer</a> example to learn how to add this style layer to your map. ### Example diff --git a/platform/darwin/src/MGLHillshadeStyleLayer.h b/platform/darwin/src/MGLHillshadeStyleLayer.h index 45b0e66751..1cf3797321 100644 --- a/platform/darwin/src/MGLHillshadeStyleLayer.h +++ b/platform/darwin/src/MGLHillshadeStyleLayer.h @@ -31,7 +31,7 @@ typedef NS_ENUM(NSUInteger, MGLHillshadeIlluminationAnchor) { Use a hillshade style layer to configure the color parameters of raster tiles loaded by an `MGLRasterDEMSource` object. For example, you could use a hillshade style layer to render <a - href="https://www.mapbox.com/help/access-elevation-data/#mapbox-terrain-rgb">Mapbox + href="https://docs.mapbox.com/help/troubleshooting/access-elevation-data/#mapbox-terrain-rgb">Mapbox Terrain-RGB</a> data. To display posterized hillshading based on vector shapes, as with the <a diff --git a/platform/darwin/src/MGLLight.h b/platform/darwin/src/MGLLight.h index 52bda1fecd..9694a18d0f 100644 --- a/platform/darwin/src/MGLLight.h +++ b/platform/darwin/src/MGLLight.h @@ -62,8 +62,8 @@ NS_INLINE MGLSphericalPosition MGLSphericalPositionMake(CGFloat radial, CLLocati #### Related examples See the <a - href="https://www.mapbox.com/ios-sdk/maps/examples/light-example/">Adjust light - of 3D buildings</a> to learn how to create and modify the light source for 3D + href="https://docs.mapbox.com/ios/maps/examples/light-example/">Adjust light of + 3D buildings</a> to learn how to create and modify the light source for 3D geometries. */ MGL_EXPORT @@ -128,8 +128,8 @@ MGL_EXPORT #### Related examples See the <a - href="https://www.mapbox.com/ios-sdk/maps/examples/light-example/">Adjust light - of 3D buildings</a> example to learn how to create and modify the position of + href="https://docs.mapbox.com/ios/maps/examples/light-example/">Adjust light of + 3D buildings</a> example to learn how to create and modify the position of value of an `MGLLight` object for 3D geometries. */ @property (nonatomic) NSExpression *position; diff --git a/platform/darwin/src/MGLLineStyleLayer.h b/platform/darwin/src/MGLLineStyleLayer.h index beb082d486..3400f7e75b 100644 --- a/platform/darwin/src/MGLLineStyleLayer.h +++ b/platform/darwin/src/MGLLineStyleLayer.h @@ -91,12 +91,12 @@ typedef NS_ENUM(NSUInteger, MGLLineTranslationAnchor) { #### Related examples See the <a - href="https://www.mapbox.com/ios-sdk/maps/examples/shape-collection/">Add - multiple shapes from a single shape source</a> example to learn how to add a - line to your map using this style layer. See the <a - href="https://www.mapbox.com/ios-sdk/maps/examples/runtime-add-line/">Add a - line style layer from GeoJSON</a> example to learn how to add and style line - data to an `MGLMapView` object at runtime. + href="https://docs.mapbox.com/ios/maps/examples/shape-collection/">Add multiple + shapes from a single shape source</a> example to learn how to add a line to + your map using this style layer. See the <a + href="https://docs.mapbox.com/ios/maps/examples/runtime-add-line/">Add a line + style layer from GeoJSON</a> example to learn how to add and style line data to + an `MGLMapView` object at runtime. ### Example diff --git a/platform/darwin/src/MGLRasterDEMSource.h b/platform/darwin/src/MGLRasterDEMSource.h index e42e4d8ec8..18ad802564 100644 --- a/platform/darwin/src/MGLRasterDEMSource.h +++ b/platform/darwin/src/MGLRasterDEMSource.h @@ -34,7 +34,7 @@ FOUNDATION_EXTERN MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionDEMEnc `-[MGLStyle addSource:]` and `-[MGLStyle sourceWithIdentifier:]`. Currently, raster DEM sources only support the format used by - <a href="https://www.mapbox.com/help/access-elevation-data/#mapbox-terrain-rgb">Mapbox Terrain-RGB</a>. + <a href="https://docs.mapbox.com/help/troubleshooting/access-elevation-data/#mapbox-terrain-rgb">Mapbox Terrain-RGB</a>. ### Example diff --git a/platform/darwin/src/MGLRasterStyleLayer.h b/platform/darwin/src/MGLRasterStyleLayer.h index cab6db3a91..87cf5be1b8 100644 --- a/platform/darwin/src/MGLRasterStyleLayer.h +++ b/platform/darwin/src/MGLRasterStyleLayer.h @@ -36,8 +36,8 @@ typedef NS_ENUM(NSUInteger, MGLRasterResamplingMode) { `MGLImageSource` object. For example, you could use a raster style layer to render <a href="https://www.mapbox.com/satellite/">Mapbox Satellite</a> imagery, a <a - href="https://www.mapbox.com/help/define-tileset/#raster-tilesets">raster tile - set</a> uploaded to Mapbox Studio, or a raster map authored in <a + href="https://docs.mapbox.com/help/glossary/tileset/#raster-tilesets">raster + tile set</a> uploaded to Mapbox Studio, or a raster map authored in <a href="https://tilemill-project.github.io/tilemill/">TileMill</a>, the classic Mapbox Editor, or Mapbox Studio Classic. @@ -53,10 +53,9 @@ typedef NS_ENUM(NSUInteger, MGLRasterResamplingMode) { `-[MGLStyle addLayer:]`. #### Related examples - See the <a - href="https://www.mapbox.com/ios-sdk/maps/examples/image-source/">Add an - image</a> and <a - href="https://www.mapbox.com/ios-sdk/maps/examples/source-custom-raster/">Add + See the <a href="https://docs.mapbox.com/ios/maps/examples/image-source/">Add + an image</a> and <a + href="https://docs.mapbox.com/ios/maps/examples/source-custom-raster/">Add raster imagery</a> examples to learn how to add imagery with this style layer. ### Example diff --git a/platform/darwin/src/MGLSymbolStyleLayer.h b/platform/darwin/src/MGLSymbolStyleLayer.h index a99e6c23fe..ee8afb1fb2 100644 --- a/platform/darwin/src/MGLSymbolStyleLayer.h +++ b/platform/darwin/src/MGLSymbolStyleLayer.h @@ -358,9 +358,9 @@ typedef NS_ENUM(NSUInteger, MGLTextTranslationAnchor) { #### Related examples See the <a - href="https://www.mapbox.com/ios-sdk/maps/examples/runtime-multiple-annotations/">Dynamically + href="https://docs.mapbox.com/ios/maps/examples/runtime-multiple-annotations/">Dynamically style interactive points</a> and <a - href="https://www.mapbox.com/ios-sdk/maps/examples/clustering-with-images/">Use + href="https://docs.mapbox.com/ios/maps/examples/clustering-with-images/">Use images to cluster point data</a> examples learn how to style data on your map using this layer. @@ -520,7 +520,7 @@ MGL_EXPORT #### Related examples See the <a - href="https://www.mapbox.com/ios-sdk/maps/examples/clustering-with-images/">Use + href="https://docs.mapbox.com/ios/maps/examples/clustering-with-images/">Use images to cluster point data</a> example to learn how to dynamically set your icons with an expression. */ @@ -1089,10 +1089,9 @@ MGL_EXPORT feature attributes #### Related examples - See the <a - href="https://www.mapbox.com/ios-sdk/maps/examples/clustering/">Cluster point - data</a> and <a - href="https://www.mapbox.com/ios-sdk/maps/examples/clustering-with-images/">Use + See the <a href="https://docs.mapbox.com/ios/maps/examples/clustering/">Cluster + point data</a> and <a + href="https://docs.mapbox.com/ios/maps/examples/clustering-with-images/">Use images to cluster point data</a> to learn how to use an expression to set this attribute to the number of markers within a cluster. */ diff --git a/platform/darwin/src/MGLTileSource.h b/platform/darwin/src/MGLTileSource.h index 0d8b118ec6..f22babc8ca 100644 --- a/platform/darwin/src/MGLTileSource.h +++ b/platform/darwin/src/MGLTileSource.h @@ -148,7 +148,7 @@ typedef NS_ENUM(NSUInteger, MGLTileCoordinateSystem) { typedef NS_ENUM(NSUInteger, MGLDEMEncoding) { /** - Raster tiles generated with the [Mapbox encoding formula](https://www.mapbox.com/help/access-elevation-data/#mapbox-terrain-rgb). + Raster tiles generated with the [Mapbox encoding formula](https://docs.mapbox.com/help/troubleshooting/access-elevation-data/#mapbox-terrain-rgb). */ MGLDEMEncodingMapbox = 0, |