[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.
This commit is contained in:
Minh Nguyễn
2016-09-26 15:42:10 -07:00
committed by Minh Nguyễn
parent a9842dbd6b
commit 7ff036cd01
9 changed files with 16 additions and 33 deletions

View File

@@ -786,10 +786,6 @@ void Map::removeSource(const std::string& sourceID) {
}
}
std::vector<std::string> Map::getAttributions() const {
return impl->style ? impl->style->getAttributions() : std::vector<std::string>();
}
style::Layer* Map::getLayer(const std::string& layerID) {
if (impl->style) {
impl->styleMutated = true;