Files
MapLibreParticleLab/src/mbgl/style/layers/heatmap_layer_impl.cpp
2018-08-08 14:14:34 +03:00

16 lines
481 B
C++

#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