From 7332ae00735a7cb1a0a4528d48e5956aa593b8b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Tue, 10 May 2016 11:48:22 +0200 Subject: [core] retain tiles differently and remove old TileID class --- src/mbgl/util/tile_cover.hpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/mbgl/util/tile_cover.hpp') diff --git a/src/mbgl/util/tile_cover.hpp b/src/mbgl/util/tile_cover.hpp index 7323df520c..aab96c8436 100644 --- a/src/mbgl/util/tile_cover.hpp +++ b/src/mbgl/util/tile_cover.hpp @@ -1,7 +1,7 @@ #ifndef MBGL_UTIL_TILE_COVER #define MBGL_UTIL_TILE_COVER -#include +#include #include #include @@ -12,11 +12,14 @@ namespace mbgl { class TransformState; class LatLngBounds; +namespace util { + int32_t coveringZoomLevel(double z, SourceType type, uint16_t tileSize); -std::vector tileCover(const TransformState&, int32_t z, int32_t actualZ); -std::vector tileCover(const LatLngBounds&, int32_t z, int32_t actualZ); +std::vector tileCover(const TransformState&, int32_t z); +std::vector tileCover(const LatLngBounds&, int32_t z); +} // namespace util } // namespace mbgl #endif -- cgit v1.2.1