From 32589c271c6f4885dadb6291c4bf637b72659a9f Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 29 May 2017 14:43:35 -0700 Subject: [core] Thread Style parameter through queryRenderedFeatures --- src/mbgl/renderer/tile_pyramid.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mbgl/renderer/tile_pyramid.hpp') 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> queryRenderedFeatures(const ScreenLineString& geometry, const TransformState& transformState, + const style::Style& style, const RenderedQueryOptions& options) const; std::vector querySourceFeatures(const SourceQueryOptions&) const; -- cgit v1.2.1