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