[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:
committed by
Minh Nguyễn
parent
a9842dbd6b
commit
7ff036cd01
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user