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