summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-02-24 11:05:03 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-02-24 13:38:14 -0800
commit96cd22efa0ac6b69fe93a130b5e8f1b17526db59 (patch)
tree14ea19f4bfab0786044ac2c2afb4001d6a0af406
parent065cda83fab02aea85573d9c2d78e9121296582d (diff)
downloadqtlocation-mapboxgl-96cd22efa0ac6b69fe93a130b5e8f1b17526db59.tar.gz
[core] Set initial offline tile count limit to 768
-rw-r--r--src/mbgl/util/mapbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/util/mapbox.cpp b/src/mbgl/util/mapbox.cpp
index bcc7601446..a3d886f673 100644
--- a/src/mbgl/util/mapbox.cpp
+++ b/src/mbgl/util/mapbox.cpp
@@ -169,7 +169,7 @@ std::string canonicalizeTileURL(const std::string& url, SourceType type, uint16_
return result;
}
-const uint64_t DEFAULT_OFFLINE_TILE_COUNT_LIMIT = std::numeric_limits<uint64_t>::max();
+const uint64_t DEFAULT_OFFLINE_TILE_COUNT_LIMIT = 512 + 256;
} // end namespace mapbox
} // end namespace util