diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-09-26 15:42:10 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-09-26 15:42:57 -0700 |
commit | 7ff036cd01e0d3594dd3006cb8d313786d81799e (patch) | |
tree | 180ef92b3d3fdba9bc7136307310d1600227b09c /src/mbgl/style/source_impl.hpp | |
parent | a9842dbd6bbd370f185505212ed3441b29e25240 (diff) | |
download | qtlocation-mapboxgl-7ff036cd01e0d3594dd3006cb8d313786d81799e.tar.gz |
[core] Removed map attribution API
Since client code can readily access the individual sources, Map doesn’t need to expose a dedicated API for iterating over them.
Diffstat (limited to 'src/mbgl/style/source_impl.hpp')
-rw-r--r-- | src/mbgl/style/source_impl.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/style/source_impl.hpp b/src/mbgl/style/source_impl.hpp index c7ed36b3c2..608a552835 100644 --- a/src/mbgl/style/source_impl.hpp +++ b/src/mbgl/style/source_impl.hpp @@ -71,6 +71,8 @@ public: const SourceType type; const std::string id; + virtual optional<std::string> getAttribution() const { return {}; }; + bool loaded = false; // Tracks whether the source is used by any layers visible at the current zoom level. Must |