From a706a2a48d6ca2076c9c81a0cb0c088ae50d1496 Mon Sep 17 00:00:00 2001 From: Brent Whitman Date: Tue, 26 Apr 2016 13:40:46 -0700 Subject: [ios, osx] Add a property for bytes used by offline tiles --- include/mbgl/storage/offline.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/mbgl/storage') diff --git a/include/mbgl/storage/offline.hpp b/include/mbgl/storage/offline.hpp index a3153adc28..2c6ca05eec 100644 --- a/include/mbgl/storage/offline.hpp +++ b/include/mbgl/storage/offline.hpp @@ -93,9 +93,14 @@ public: uint64_t completedResourceCount = 0; /** - * The cumulative size, in bytes, of all resources that have been fully downloaded. + * The cumulative size, in bytes, of all resources (inclusive of tiles) that have been fully downloaded. */ uint64_t completedResourceSize = 0; + + /** + * The cumulative size, in bytes, of all tiles that have been fully downloaded. + */ + uint64_t completedTileSize = 0; /** * The number of resources that are known to be required for this region. See the -- cgit v1.2.1