summaryrefslogtreecommitdiff
path: root/platform/qt
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2017-04-28 22:30:43 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2017-05-02 10:07:02 +0300
commit184a4389e16b1ba43cf130a0859b87708ed8630f (patch)
tree9978b71791fcd628f7562815674527e28c466545 /platform/qt
parentefe3ccebbe596cbabaa15a4259b4436c352769c9 (diff)
downloadqtlocation-mapboxgl-184a4389e16b1ba43cf130a0859b87708ed8630f.tar.gz
[Qt] Handle extrusion filters
Diffstat (limited to 'platform/qt')
-rw-r--r--platform/qt/src/qmapboxgl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/qt/src/qmapboxgl.cpp b/platform/qt/src/qmapboxgl.cpp
index dedff24c54..edb8afa28a 100644
--- a/platform/qt/src/qmapboxgl.cpp
+++ b/platform/qt/src/qmapboxgl.cpp
@@ -1482,6 +1482,10 @@ void QMapboxGL::setFilter(const QString& layer, const QVariant& filter)
layer_->as<CircleLayer>()->setFilter(filter_);
return;
}
+ if (layer_->is<FillExtrusionLayer>()) {
+ layer_->as<FillExtrusionLayer>()->setFilter(filter_);
+ return;
+ }
qWarning() << "Layer doesn't support filters";
}