summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/tile_pyramid.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/tile_pyramid.hpp
parent41d2496c07e54a8dad70aea4610c7200711983e5 (diff)
downloadqtlocation-mapboxgl-32589c271c6f4885dadb6291c4bf637b72659a9f.tar.gz
[core] Thread Style parameter through queryRenderedFeatures
Diffstat (limited to 'src/mbgl/renderer/tile_pyramid.hpp')
-rw-r--r--src/mbgl/renderer/tile_pyramid.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mbgl/renderer/tile_pyramid.hpp b/src/mbgl/renderer/tile_pyramid.hpp
index b51c5342de..a2657c92f2 100644
--- a/src/mbgl/renderer/tile_pyramid.hpp
+++ b/src/mbgl/renderer/tile_pyramid.hpp
@@ -24,6 +24,10 @@ class RenderedQueryOptions;
class SourceQueryOptions;
class TileParameters;
+namespace style {
+class Style;
+} // namespace style
+
class TilePyramid {
public:
TilePyramid();
@@ -59,6 +63,7 @@ public:
std::unordered_map<std::string, std::vector<Feature>>
queryRenderedFeatures(const ScreenLineString& geometry,
const TransformState& transformState,
+ const style::Style& style,
const RenderedQueryOptions& options) const;
std::vector<Feature> querySourceFeatures(const SourceQueryOptions&) const;