summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIvo van Dongen <info@ivovandongen.nl>2017-03-04 18:44:13 -0800
committerJesse Bounds <jesse@rebounds.net>2017-03-10 11:08:32 -0800
commit4d325879b89323439e9c2955ba5271d03c910490 (patch)
tree5403fd0c770b2f104edf2ee2a3a15fcb60d8ac3b /include
parentd82092d6066bfac2514a13f5e2911aeeef5ae5f8 (diff)
downloadqtlocation-mapboxgl-4d325879b89323439e9c2955ba5271d03c910490.tar.gz
[core] rename query options for query rendered features
Diffstat (limited to 'include')
-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;