summaryrefslogtreecommitdiff
path: root/include/mbgl
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 /include/mbgl
parentd5c2920104ea733b8ed417d2b9bdbade61b049cd (diff)
downloadqtlocation-mapboxgl-548675a196f9e55d87cf8fce837b6e60393cb1b9.tar.gz
[core] rename query options for query rendered features
Diffstat (limited to 'include/mbgl')
-rw-r--r--include/mbgl/map/map.hpp6
-rw-r--r--include/mbgl/map/query.hpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index 7e4eeb8d5b..02e14bea4e 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -182,9 +182,9 @@ public:
double getDefaultPitch() const;
// Feature queries
- std::vector<Feature> queryRenderedFeatures(const ScreenCoordinate&, const QueryOptions& options = {});
- std::vector<Feature> queryRenderedFeatures(const ScreenBox&, const QueryOptions& options = {});
-
+ std::vector<Feature> queryRenderedFeatures(const ScreenCoordinate&, const RenderedQueryOptions& options = {});
+ std::vector<Feature> queryRenderedFeatures(const ScreenBox&, const RenderedQueryOptions& options = {});
+
AnnotationIDs queryPointAnnotations(const ScreenBox&);
// Memory
diff --git a/include/mbgl/map/query.hpp b/include/mbgl/map/query.hpp
index e864dbaa67..201484cd84 100644
--- a/include/mbgl/map/query.hpp
+++ b/include/mbgl/map/query.hpp
@@ -6,9 +6,9 @@
namespace mbgl {
/**
- * Options for Map queries.
+ * Options for query rendered features.
*/
-class QueryOptions {
+class RenderedQueryOptions {
public:
/** layerIDs to include in the query */
optional<std::vector<std::string>> layerIDs;