diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2017-04-28 22:30:43 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2017-05-02 10:07:02 +0300 |
commit | 184a4389e16b1ba43cf130a0859b87708ed8630f (patch) | |
tree | 9978b71791fcd628f7562815674527e28c466545 /platform/qt | |
parent | efe3ccebbe596cbabaa15a4259b4436c352769c9 (diff) | |
download | qtlocation-mapboxgl-184a4389e16b1ba43cf130a0859b87708ed8630f.tar.gz |
[Qt] Handle extrusion filters
Diffstat (limited to 'platform/qt')
-rw-r--r-- | platform/qt/src/qmapboxgl.cpp | 4 |
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"; } |