[core] Layer::getPaintProperty() -> Layer::getProperty()
This commit is contained in:
@@ -444,7 +444,7 @@ optional<Error> RasterLayer::setPaintProperty(const std::string& name, const Con
|
||||
return Error{"layer doesn't support this property"};
|
||||
}
|
||||
|
||||
StyleProperty RasterLayer::getPaintProperty(const std::string& name) const {
|
||||
StyleProperty RasterLayer::getProperty(const std::string& name) const {
|
||||
const auto it = paintProperties.find(name.c_str());
|
||||
if (it == paintProperties.end()) {
|
||||
return {};
|
||||
|
||||
Reference in New Issue
Block a user