From 6eab895bc0683881f793a3a751fa7470603ae9a0 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 13 Jun 2016 14:45:22 -0700 Subject: [core] Use Range instead of full Tileset where possible --- include/mbgl/storage/offline.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/mbgl/storage') diff --git a/include/mbgl/storage/offline.hpp b/include/mbgl/storage/offline.hpp index bbd8674e5a..818cfe2ba5 100644 --- a/include/mbgl/storage/offline.hpp +++ b/include/mbgl/storage/offline.hpp @@ -1,6 +1,7 @@ #pragma once #include +#include #include #include #include @@ -12,7 +13,6 @@ namespace mbgl { class TileID; -class Tileset; /* * An offline region defined by a style URL, geographic bounding box, zoom range, and @@ -30,7 +30,7 @@ public: OfflineTilePyramidRegionDefinition(std::string, LatLngBounds, double, double, float); /* Private */ - std::vector tileCover(SourceType, uint16_t tileSize, const Tileset&) const; + std::vector tileCover(SourceType, uint16_t tileSize, const Range& zoomRange) const; const std::string styleURL; const LatLngBounds bounds; -- cgit v1.2.1