diff options
author | Langston Smith <langston.smith@mapbox.com> | 2019-08-19 19:49:13 -0700 |
---|---|---|
committer | Langston Smith <langston.smith@mapbox.com> | 2019-08-19 19:49:13 -0700 |
commit | 99a613155a609f3a023b3fd4a94a78876f9d1b59 (patch) | |
tree | e4af246848aca86ce37ec105c595a54ae7c845c9 | |
parent | cb47b906943fd97ab10bc194a9c2cfb17f530790 (diff) | |
download | qtlocation-mapboxgl-99a613155a609f3a023b3fd4a94a78876f9d1b59.tar.gz |
[android] sku pricing update docs based on @chloekraw request
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/http/HttpRequestUrl.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/http/HttpRequestUrl.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/http/HttpRequestUrl.java index f53040f399..1faf8f5e5e 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/http/HttpRequestUrl.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/http/HttpRequestUrl.java @@ -11,9 +11,9 @@ public class HttpRequestUrl { /** * Adapts a resource request url based on the host, query size, and offline requirement. - * The Maps SDK SKU token is not included with offline tile requests because offline requests - * are counted as billable Vector Tile API requests. The offline tile requests are considered - * raster Tile API requests if satellite imagery is being fetched. + * Mapbox resources downloaded for offline use are subject to separate Vector Tile and + * Raster Tile API pricing and are not included in the Maps SDK’s “unlimited” requests. + * See <a href="https://www.mapbox.com/pricing">our pricing page</a> for more information. * * @param host the host used as endpoint * @param resourceUrl the resource to download @@ -28,6 +28,7 @@ public class HttpRequestUrl { } else { resourceUrl = resourceUrl + "&"; } + // Only add SKU token to requests not tagged as "offline" usage. if (offline) { resourceUrl = resourceUrl + "offline=true"; } else { |