summaryrefslogtreecommitdiff
path: root/src/mbgl/util/tile_cover.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-04-06 13:24:50 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-04-06 13:58:56 -0700
commit872cf0768308e783b38d7a3e1e331746c6a38edb (patch)
tree70f7cec7e5ebd9ff1d5e7c7df8189c39c147a4c1 /src/mbgl/util/tile_cover.hpp
parentd8411f26d24b14b829ecab7617b403ad0c872ed8 (diff)
downloadqtlocation-mapboxgl-872cf0768308e783b38d7a3e1e331746c6a38edb.tar.gz
Move tileCover to its own file
Diffstat (limited to 'src/mbgl/util/tile_cover.hpp')
-rw-r--r--src/mbgl/util/tile_cover.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mbgl/util/tile_cover.hpp b/src/mbgl/util/tile_cover.hpp
new file mode 100644
index 0000000000..78121a30ba
--- /dev/null
+++ b/src/mbgl/util/tile_cover.hpp
@@ -0,0 +1,15 @@
+#ifndef MBGL_UTIL_TILE_COVER
+#define MBGL_UTIL_TILE_COVER
+
+#include <mbgl/map/tile_id.hpp>
+#include <mbgl/util/box.hpp>
+
+#include <forward_list>
+
+namespace mbgl {
+
+std::forward_list<TileID> tileCover(int8_t z, const box& bounds);
+
+}
+
+#endif