diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-04-15 12:46:19 -0400 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-04-15 12:46:19 -0400 |
commit | 78c10c0701a85dd4f74d8fb249847f8178b1b6e1 (patch) | |
tree | 3af6101bfe3e19550234241ce4e3ef068decf515 /include/llmr/map/tile_data.hpp | |
parent | 8e442411b0339072666f2b434963a0bd88215f3d (diff) | |
parent | 228ce3327855bd8b41d5f971902de8a8f3269115 (diff) | |
download | qtlocation-mapboxgl-78c10c0701a85dd4f74d8fb249847f8178b1b6e1.tar.gz |
Merge remote-tracking branch 'remotes/origin/pr/127'
Conflicts:
include/llmr/map/map.hpp
src/map/map.cpp
src/platform/platform.cpp
Diffstat (limited to 'include/llmr/map/tile_data.hpp')
-rw-r--r-- | include/llmr/map/tile_data.hpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/llmr/map/tile_data.hpp b/include/llmr/map/tile_data.hpp index 955c1ffbc8..c6283e3706 100644 --- a/include/llmr/map/tile_data.hpp +++ b/include/llmr/map/tile_data.hpp @@ -35,7 +35,6 @@ class Raster; class LayerDescription; class BucketDescription; - class PlainShader; class TileData : public std::enable_shared_from_this<TileData>, @@ -57,7 +56,7 @@ public: }; public: - TileData(Tile::ID id, const Style& style, GlyphAtlas& glyphAtlas, const bool use_raster = false, const bool use_retina = false); + TileData(Tile::ID id, const Style& style, GlyphAtlas& glyphAtlas, const std::string url, const bool is_raster); ~TileData(); void request(); @@ -68,8 +67,6 @@ public: public: const Tile::ID id; - const bool use_raster; - const bool use_retina; std::atomic<State> state; std::shared_ptr<Raster> raster; @@ -91,7 +88,8 @@ public: std::map<std::string, std::unique_ptr<Bucket>> buckets; private: - // Source data + const std::string url; + const bool is_raster = false; std::string data; const Style& style; GlyphAtlas& glyphAtlas; |