summaryrefslogtreecommitdiff
path: root/src/mbgl/geometry
diff options
context:
space:
mode:
authorIvo van Dongen <info@ivovandongen.nl>2017-03-04 18:44:13 -0800
committerIvo van Dongen <ivovandongen@users.noreply.github.com>2017-03-09 13:11:23 -0800
commit548675a196f9e55d87cf8fce837b6e60393cb1b9 (patch)
tree92bc4134eaca3141298b9e298f30d191f038d046 /src/mbgl/geometry
parentd5c2920104ea733b8ed417d2b9bdbade61b049cd (diff)
downloadqtlocation-mapboxgl-548675a196f9e55d87cf8fce837b6e60393cb1b9.tar.gz
[core] rename query options for query rendered features
Diffstat (limited to 'src/mbgl/geometry')
-rw-r--r--src/mbgl/geometry/feature_index.cpp4
-rw-r--r--src/mbgl/geometry/feature_index.hpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/mbgl/geometry/feature_index.cpp b/src/mbgl/geometry/feature_index.cpp
index 64fb7bd247..0a159f2ce2 100644
--- a/src/mbgl/geometry/feature_index.cpp
+++ b/src/mbgl/geometry/feature_index.cpp
@@ -59,7 +59,7 @@ void FeatureIndex::query(
const float bearing,
const double tileSize,
const double scale,
- const QueryOptions& queryOptions,
+ const RenderedQueryOptions& queryOptions,
const GeometryTileData& geometryTileData,
const CanonicalTileID& tileID,
const style::Style& style,
@@ -98,7 +98,7 @@ void FeatureIndex::addFeature(
std::unordered_map<std::string, std::vector<Feature>>& result,
const IndexedSubfeature& indexedFeature,
const GeometryCoordinates& queryGeometry,
- const QueryOptions& options,
+ const RenderedQueryOptions& options,
const GeometryTileData& geometryTileData,
const CanonicalTileID& tileID,
const style::Style& style,
diff --git a/src/mbgl/geometry/feature_index.hpp b/src/mbgl/geometry/feature_index.hpp
index d2f68fd103..61f0bad4d5 100644
--- a/src/mbgl/geometry/feature_index.hpp
+++ b/src/mbgl/geometry/feature_index.hpp
@@ -11,7 +11,7 @@
namespace mbgl {
-class QueryOptions;
+class RenderedQueryOptions;
namespace style {
class Style;
@@ -41,7 +41,7 @@ public:
const float bearing,
const double tileSize,
const double scale,
- const QueryOptions& options,
+ const RenderedQueryOptions& options,
const GeometryTileData&,
const CanonicalTileID&,
const style::Style&,
@@ -61,7 +61,7 @@ private:
std::unordered_map<std::string, std::vector<Feature>>& result,
const IndexedSubfeature&,
const GeometryCoordinates& queryGeometry,
- const QueryOptions& options,
+ const RenderedQueryOptions& options,
const GeometryTileData&,
const CanonicalTileID&,
const style::Style&,