summaryrefslogtreecommitdiff
path: root/src/mbgl/style/source.cpp
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-09-26 15:42:10 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-09-26 15:42:57 -0700
commit7ff036cd01e0d3594dd3006cb8d313786d81799e (patch)
tree180ef92b3d3fdba9bc7136307310d1600227b09c /src/mbgl/style/source.cpp
parenta9842dbd6bbd370f185505212ed3441b29e25240 (diff)
downloadqtlocation-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.cpp')
-rw-r--r--src/mbgl/style/source.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mbgl/style/source.cpp b/src/mbgl/style/source.cpp
index 4c83a3ce0e..cfb268006b 100644
--- a/src/mbgl/style/source.cpp
+++ b/src/mbgl/style/source.cpp
@@ -14,5 +14,9 @@ const std::string& Source::getID() const {
return baseImpl->id;
}
+optional<std::string> Source::getAttribution() const {
+ return baseImpl->getAttribution();
+}
+
} // namespace style
} // namespace mbgl