[core] Avoid RenderStyle dependency in query code

This commit is contained in:
John Firebaugh
2017-08-12 11:20:49 -07:00
parent 3d3648387b
commit e706ed4b2e
21 changed files with 78 additions and 96 deletions

View File

@@ -214,7 +214,7 @@ void GeometryTile::queryRenderedFeatures(
std::unordered_map<std::string, std::vector<Feature>>& result,
const GeometryCoordinates& queryGeometry,
const TransformState& transformState,
const RenderStyle& style,
const std::vector<const RenderLayer*>& layers,
const RenderedQueryOptions& options) {
if (!featureIndex || !data) return;
@@ -227,7 +227,7 @@ void GeometryTile::queryRenderedFeatures(
options,
*data,
id.canonical,
style,
layers,
collisionTile.get(),
*this);
}