blob: a8ba1b693b73c3c5285e74a711726f244d58638e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include <mbgl/style/layers/fill_layer_impl.hpp>
namespace mbgl {
namespace style {
bool FillLayer::Impl::hasLayoutDifference(const Layer::Impl& other) const {
assert(other.type == LayerType::Fill);
const auto& impl = static_cast<const style::FillLayer::Impl&>(other);
return filter != impl.filter ||
visibility != impl.visibility ||
paint.hasDataDrivenPropertyDifference(impl.paint);
}
} // namespace style
} // namespace mbgl
|