summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Loer <chris.loer@gmail.com>2018-12-18 17:26:31 -0800
committerChris Loer <chris.loer@mapbox.com>2018-12-21 15:13:48 -0800
commitb7e2b11a75fd1b12d0ff948b9602fcd3db3779cf (patch)
tree1571564df596c7720d8bcea8ebdd604032164f09 /include
parent7d8b4754077aeae576965cd7871d5d00578cdce4 (diff)
downloadqtlocation-mapboxgl-b7e2b11a75fd1b12d0ff948b9602fcd3db3779cf.tar.gz
[core] Support for excluding ideographic glyphs from offline downloads.
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/storage/offline.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/mbgl/storage/offline.hpp b/include/mbgl/storage/offline.hpp
index b4e40cb5f3..b3d258a7e3 100644
--- a/include/mbgl/storage/offline.hpp
+++ b/include/mbgl/storage/offline.hpp
@@ -29,7 +29,7 @@ class TileID;
*/
class OfflineTilePyramidRegionDefinition {
public:
- OfflineTilePyramidRegionDefinition(std::string, LatLngBounds, double, double, float);
+ OfflineTilePyramidRegionDefinition(std::string, LatLngBounds, double, double, float, bool);
/* Private */
const std::string styleURL;
@@ -37,6 +37,7 @@ public:
const double minZoom;
const double maxZoom;
const float pixelRatio;
+ const bool includeIdeographs;
};
/*
@@ -52,7 +53,7 @@ public:
*/
class OfflineGeometryRegionDefinition {
public:
- OfflineGeometryRegionDefinition(std::string styleURL, Geometry<double>, double minZoom, double maxZoom, float pixelRatio);
+ OfflineGeometryRegionDefinition(std::string styleURL, Geometry<double>, double minZoom, double maxZoom, float pixelRatio, bool includeIdeographs);
/* Private */
const std::string styleURL;
@@ -60,6 +61,7 @@ public:
const double minZoom;
const double maxZoom;
const float pixelRatio;
+ const bool includeIdeographs;
};
/*