summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2019-05-24 11:11:45 -0700
committerJason Wray <friedbunny@users.noreply.github.com>2019-05-28 11:02:01 -0700
commit0a7919ee7e1ab0dc10c3dc9662d9d15a29562cac (patch)
tree00de7e968bf5e9dd0708dde339311c07cf539094
parentad744d6e655211802b84703119415e8bf2928cbf (diff)
downloadqtlocation-mapboxgl-0a7919ee7e1ab0dc10c3dc9662d9d15a29562cac.tar.gz
[ios] Update Raster Tiles API name and link
Also update another link to avoid a redirect.
-rw-r--r--platform/darwin/src/MGLRasterTileSource.h2
-rw-r--r--platform/darwin/src/MGLStyle.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLRasterTileSource.h b/platform/darwin/src/MGLRasterTileSource.h
index 110ad875b5..08498a46f1 100644
--- a/platform/darwin/src/MGLRasterTileSource.h
+++ b/platform/darwin/src/MGLRasterTileSource.h
@@ -13,7 +13,7 @@ NS_ASSUME_NONNULL_BEGIN
integers.
The default value for this option is 512. Version 4 of the
- <a href="https://www.mapbox.com/api-documentation/maps/#maps">Mapbox Maps API</a>
+ <a href="https://docs.mapbox.com/api/maps/#raster-tiles">Mapbox Raster Tiles API</a>
requires a value of 256, as do many third-party tile servers, so consult your
provider’s documentation for the correct value.
diff --git a/platform/darwin/src/MGLStyle.h b/platform/darwin/src/MGLStyle.h
index f3a4db0773..3b855ec2ab 100644
--- a/platform/darwin/src/MGLStyle.h
+++ b/platform/darwin/src/MGLStyle.h
@@ -19,7 +19,7 @@ NS_ASSUME_NONNULL_BEGIN
as of the date on which this SDK was published. You can use this constant to
ascertain the style used by `MGLMapView` and `MGLTilePyramidOfflineRegion` when
no style URL is specified. Consult the
- <a href="https://www.mapbox.com/api-documentation/maps/#styles">Mapbox Styles API documentation</a>
+ <a href="https://docs.mapbox.com/api/maps/#styles">Mapbox Styles API documentation</a>
for the most up-to-date style versioning information.
@warning The value of this constant may change in a future release of the SDK.