diff options
author | Tobrun <tobrun.van.nuland@gmail.com> | 2016-09-20 20:50:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-20 20:50:27 +0200 |
commit | 7df9a21f415aa269e7ae435d1500f4a3c7d607e1 (patch) | |
tree | 9e383dbb2a7c92dd3d5e983c68795f04252025f3 /src/mbgl/style/source_impl.hpp | |
parent | 3755d48441de190a0e94b347ec3ba8e2d54a7285 (diff) | |
download | qtlocation-mapboxgl-7df9a21f415aa269e7ae435d1500f4a3c7d607e1.tar.gz |
[core] - mutable geojson sources. make tiles protected for geojson_source_impl (#6347)
Diffstat (limited to 'src/mbgl/style/source_impl.hpp')
-rw-r--r-- | src/mbgl/style/source_impl.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/source_impl.hpp b/src/mbgl/style/source_impl.hpp index 0de3760fc3..c7ed36b3c2 100644 --- a/src/mbgl/style/source_impl.hpp +++ b/src/mbgl/style/source_impl.hpp @@ -83,6 +83,7 @@ protected: Source& base; SourceObserver* observer = nullptr; + std::map<OverscaledTileID, std::unique_ptr<Tile>> tiles; private: // TileObserver implementation. @@ -93,7 +94,6 @@ private: virtual Range<uint8_t> getZoomRange() = 0; virtual std::unique_ptr<Tile> createTile(const OverscaledTileID&, const UpdateParameters&) = 0; - std::map<OverscaledTileID, std::unique_ptr<Tile>> tiles; std::map<UnwrappedTileID, RenderTile> renderTiles; TileCache cache; }; |