summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers/circle_layer_impl.cpp
blob: 358598e09c5b9b11537e49a090fc73aacad19561 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <mbgl/style/layers/circle_layer_impl.hpp>

namespace mbgl {
namespace style {

bool CircleLayer::Impl::hasLayoutDifference(const Layer::Impl& other) const {
    assert(other.type == LayerType::Circle);
    const auto& impl = static_cast<const style::CircleLayer::Impl&>(other);
    return filter     != impl.filter ||
           visibility != impl.visibility ||
           paint.hasDataDrivenPropertyDifference(impl.paint);
}

} // namespace style
} // namespace mbgl