diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-02-23 18:25:36 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-02-24 13:38:14 -0800 |
commit | 065cda83fab02aea85573d9c2d78e9121296582d (patch) | |
tree | 8fab316922a052496e67aa49d968224ffbbf0fca /src/mbgl/util/mapbox.cpp | |
parent | 5cefaeb85716b21f2bbe57165a244844114b8dbe (diff) | |
download | qtlocation-mapboxgl-065cda83fab02aea85573d9c2d78e9121296582d.tar.gz |
[core] Limit total number of offline Mapbox tiles
Diffstat (limited to 'src/mbgl/util/mapbox.cpp')
-rw-r--r-- | src/mbgl/util/mapbox.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/util/mapbox.cpp b/src/mbgl/util/mapbox.cpp index 7ee0f279b6..bcc7601446 100644 --- a/src/mbgl/util/mapbox.cpp +++ b/src/mbgl/util/mapbox.cpp @@ -169,6 +169,8 @@ 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(); + } // end namespace mapbox } // end namespace util } // end namespace mbgl |