summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/render_source.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-05-29 14:43:35 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-06-05 19:38:08 -0700
commit32589c271c6f4885dadb6291c4bf637b72659a9f (patch)
tree52e71d7222aa96dc14d2774e6acd8676b10b1183 /src/mbgl/renderer/render_source.hpp
parent41d2496c07e54a8dad70aea4610c7200711983e5 (diff)
downloadqtlocation-mapboxgl-32589c271c6f4885dadb6291c4bf637b72659a9f.tar.gz
[core] Thread Style parameter through queryRenderedFeatures
Diffstat (limited to 'src/mbgl/renderer/render_source.hpp')
-rw-r--r--src/mbgl/renderer/render_source.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mbgl/renderer/render_source.hpp b/src/mbgl/renderer/render_source.hpp
index dae0ea19b1..df44ea70fd 100644
--- a/src/mbgl/renderer/render_source.hpp
+++ b/src/mbgl/renderer/render_source.hpp
@@ -23,6 +23,10 @@ class Tile;
class RenderSourceObserver;
class TileParameters;
+namespace style {
+class Style;
+} // namespace style
+
namespace algorithm {
class ClipIDGenerator;
} // namespace algorithm
@@ -75,6 +79,7 @@ public:
virtual std::unordered_map<std::string, std::vector<Feature>>
queryRenderedFeatures(const ScreenLineString& geometry,
const TransformState& transformState,
+ const style::Style& style,
const RenderedQueryOptions& options) const = 0;
virtual std::vector<Feature>