summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChloe Krawczyk <chloe.krawczyk@mapbox.com>2019-08-28 16:00:33 -0700
committerGitHub <noreply@github.com>2019-08-28 16:00:33 -0700
commit2afda968c77d776671db86183c3f6ea3a55ffcb3 (patch)
treeee276a1cfa0e062c34b86a58e151ce3f34adf2ec
parentde6ef2297f0e3675bc403c6fc8ebd8f53dd87b45 (diff)
downloadqtlocation-mapboxgl-2afda968c77d776671db86183c3f6ea3a55ffcb3.tar.gz
[docs] [ios] update offline to reflect billing changes (#15518)ios-v5.3.0
* [docs] [ios] update offline to reflect billing changes fix linebreaks maintain consistency with docs on `@interface MGLOfflineStorage` https://docs.mapbox.com/ios/api/maps/5.3.0-beta.1/Classes/MGLOfflineStorage.html#/Adding%20Contents%20of%20File
-rw-r--r--platform/darwin/src/MGLOfflineStorage.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLOfflineStorage.h b/platform/darwin/src/MGLOfflineStorage.h
index d093bb938a..c94a0b1163 100644
--- a/platform/darwin/src/MGLOfflineStorage.h
+++ b/platform/darwin/src/MGLOfflineStorage.h
@@ -260,6 +260,12 @@ MGL_EXPORT
/**
Creates and registers an offline pack that downloads the resources needed to
use the given region offline.
+
+ As of version 5.3 of the Maps SDK for iOS, offline tile requests are no longer
+ exempt from billing on mobile. Developers are subject to separate Vector Tile
+ and Raster Tile API pricing for offline use. See
+ <a href="https://www.mapbox.com/pricing/">our pricing page</a> for more
+ information.
The resulting pack is added to the shared offline storage object’s `packs`
property, then the `completion` block is executed with that pack passed in.
@@ -339,7 +345,7 @@ MGL_EXPORT
/**
Sets the maximum number of Mapbox-hosted tiles that may be downloaded and
- stored on the current device.
+ stored on the current device. By default, the limit is set to 6,000.
Once this limit is reached, an
`MGLOfflinePackMaximumMapboxTilesReachedNotification` is posted for every