diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/map/map.hpp | 6 | ||||
-rw-r--r-- | include/mbgl/map/query.hpp | 4 |
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; |