diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-03-20 17:32:06 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-03-20 18:25:04 +0200 |
commit | 24198ebca86cbe1329a1854f080e3f4638973142 (patch) | |
tree | 43447ee32faff421349706b8251d10d90fc9bc2b /src/mbgl/style/source_impl.hpp | |
parent | f846205eb68e9508a0d80259008cf9adb8069a1b (diff) | |
download | qtlocation-mapboxgl-24198ebca86cbe1329a1854f080e3f4638973142.tar.gz |
[core] Expose Source::getZoomRange
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 b9707edaa7..fbec2b0eba 100644 --- a/src/mbgl/style/source_impl.hpp +++ b/src/mbgl/style/source_impl.hpp @@ -83,6 +83,7 @@ public: const std::string id; virtual optional<std::string> getAttribution() const { return {}; }; + virtual Range<uint8_t> getZoomRange() const = 0; bool loaded = false; @@ -109,7 +110,6 @@ private: void onTileError(Tile&, std::exception_ptr) override; virtual uint16_t getTileSize() const = 0; - virtual Range<uint8_t> getZoomRange() = 0; virtual std::unique_ptr<Tile> createTile(const OverscaledTileID&, const UpdateParameters&) = 0; std::map<UnwrappedTileID, RenderTile> renderTiles; |