[core] Add feature state support to queryRenderedFeatures API

This commit is contained in:
Juha Alanen
2019-08-21 15:40:11 +03:00
committed by Juha Alanen
parent 8e19be9d9c
commit 598df1897d
10 changed files with 43 additions and 17 deletions

View File

@@ -49,7 +49,7 @@ RenderAnnotationSource::queryRenderedFeatures(const ScreenLineString& geometry,
const std::unordered_map<std::string, const RenderLayer*>& layers,
const RenderedQueryOptions& options,
const mat4& projMatrix) const {
return tilePyramid.queryRenderedFeatures(geometry, transformState, layers, options, projMatrix);
return tilePyramid.queryRenderedFeatures(geometry, transformState, layers, options, projMatrix, {});
}
std::vector<Feature> RenderAnnotationSource::querySourceFeatures(const SourceQueryOptions&) const {