summaryrefslogtreecommitdiff
path: root/src/mbgl/util/tile_cover.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-05-10 11:48:22 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-05-10 14:50:56 +0200
commit7332ae00735a7cb1a0a4528d48e5956aa593b8b8 (patch)
tree5d680f5388c2019834975a22cd941d0cefb59a31 /src/mbgl/util/tile_cover.hpp
parentec70125e41e4e9db5f1d0941c0129d80f5792896 (diff)
downloadqtlocation-mapboxgl-7332ae00735a7cb1a0a4528d48e5956aa593b8b8.tar.gz
[core] retain tiles differently and remove old TileID class
Diffstat (limited to 'src/mbgl/util/tile_cover.hpp')
-rw-r--r--src/mbgl/util/tile_cover.hpp9
1 files changed, 6 insertions, 3 deletions
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 <mbgl/map/tile_id.hpp>
+#include <mbgl/tile/tile_id.hpp>
#include <mbgl/style/types.hpp>
#include <mbgl/util/tile_coordinate.hpp>
@@ -12,11 +12,14 @@ namespace mbgl {
class TransformState;
class LatLngBounds;
+namespace util {
+
int32_t coveringZoomLevel(double z, SourceType type, uint16_t tileSize);
-std::vector<TileID> tileCover(const TransformState&, int32_t z, int32_t actualZ);
-std::vector<TileID> tileCover(const LatLngBounds&, int32_t z, int32_t actualZ);
+std::vector<UnwrappedTileID> tileCover(const TransformState&, int32_t z);
+std::vector<UnwrappedTileID> tileCover(const LatLngBounds&, int32_t z);
+} // namespace util
} // namespace mbgl
#endif