From 96cd22efa0ac6b69fe93a130b5e8f1b17526db59 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 24 Feb 2016 11:05:03 -0800 Subject: [PATCH] [core] Set initial offline tile count limit to 768 --- src/mbgl/util/mapbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mbgl/util/mapbox.cpp b/src/mbgl/util/mapbox.cpp index bcc760144..a3d886f67 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::max(); +const uint64_t DEFAULT_OFFLINE_TILE_COUNT_LIMIT = 512 + 256; } // end namespace mapbox } // end namespace util