From 7ff036cd01e0d3594dd3006cb8d313786d81799e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Mon, 26 Sep 2016 15:42:10 -0700 Subject: [core] Removed map attribution API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since client code can readily access the individual sources, Map doesn’t need to expose a dedicated API for iterating over them. --- src/mbgl/style/source_impl.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mbgl/style/source_impl.hpp') 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 getAttribution() const { return {}; }; + bool loaded = false; // Tracks whether the source is used by any layers visible at the current zoom level. Must -- cgit v1.2.1