From 18176605f65ce90c973e0b61a1a2b563471b0ba5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Mon, 15 Aug 2016 18:34:45 +0200 Subject: [core] support "scheme": "tms" in TileJSON files --- include/mbgl/util/tileset.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/mbgl/util/tileset.hpp') diff --git a/include/mbgl/util/tileset.hpp b/include/mbgl/util/tileset.hpp index 8a7fbe9b73..1f28a5039a 100644 --- a/include/mbgl/util/tileset.hpp +++ b/include/mbgl/util/tileset.hpp @@ -10,9 +10,12 @@ namespace mbgl { class Tileset { public: + enum class Scheme : bool { XYZ, TMS }; + std::vector tiles; Range zoomRange { 0, 22 }; std::string attribution; + Scheme scheme = Scheme::XYZ; // TileJSON also includes center, zoom, and bounds, but they are not used by mbgl. }; -- cgit v1.2.1