summaryrefslogtreecommitdiff
path: root/src/mbgl/annotation/render_annotation_source.hpp
diff options
context:
space:
mode:
authorChris Loer <chris.loer@gmail.com>2018-04-03 02:41:55 +0200
committerŁukasz Paczos <lukasz.paczos@mapbox.com>2018-05-23 11:12:27 +0200
commit9616c408a5a8adcc389c26a4af27e29677678ad0 (patch)
treefd36a06013fef98dfd4cd89dac50eac0b5658d74 /src/mbgl/annotation/render_annotation_source.hpp
parentd002e74e38a2a19785d8733a6130d1b8428f5eff (diff)
downloadqtlocation-mapboxgl-9616c408a5a8adcc389c26a4af27e29677678ad0.tar.gz
[core] fix circle querying for scale and alignment
This fixes circle querying for cases where either circle-pitch-alignment=map or circle-pitch-scaling=viewport (cherry picked from commit f86fe44)
Diffstat (limited to 'src/mbgl/annotation/render_annotation_source.hpp')
-rw-r--r--src/mbgl/annotation/render_annotation_source.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mbgl/annotation/render_annotation_source.hpp b/src/mbgl/annotation/render_annotation_source.hpp
index da5376ab2d..da87d13814 100644
--- a/src/mbgl/annotation/render_annotation_source.hpp
+++ b/src/mbgl/annotation/render_annotation_source.hpp
@@ -27,7 +27,8 @@ public:
queryRenderedFeatures(const ScreenLineString& geometry,
const TransformState& transformState,
const std::vector<const RenderLayer*>& layers,
- const RenderedQueryOptions& options) const final;
+ const RenderedQueryOptions& options,
+ const mat4& projMatrix) const final;
std::vector<Feature>
querySourceFeatures(const SourceQueryOptions&) const final;