diff options
Diffstat (limited to 'include/mbgl/style/style_source.hpp')
-rw-r--r-- | include/mbgl/style/style_source.hpp | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/include/mbgl/style/style_source.hpp b/include/mbgl/style/style_source.hpp deleted file mode 100644 index 8c7d028880..0000000000 --- a/include/mbgl/style/style_source.hpp +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef MBGL_STYLE_STYLE_SOURCE -#define MBGL_STYLE_STYLE_SOURCE - -#include <mbgl/style/types.hpp> -#include <mbgl/util/ptr.hpp> -#include <mbgl/util/noncopyable.hpp> -#include <rapidjson/document.h> - -#include <vector> -#include <string> - -namespace mbgl { - -class Source; - -class SourceInfo : private util::noncopyable { -public: - SourceType type = SourceType::Vector; - std::string url; - std::vector<std::string> tiles; - uint16_t tile_size = 512; - uint16_t min_zoom = 0; - uint16_t max_zoom = 22; - std::string attribution; - std::array<float, 3> center = {{0, 0, 0}}; - std::array<float, 4> bounds = {{-180, -90, 180, 90}}; - - void parseTileJSONProperties(const rapidjson::Value&); -}; - - -class StyleSource : private util::noncopyable { -public: - SourceInfo info; - bool enabled = false; - util::ptr<Source> source; -}; - -} - -#endif |