From 548675a196f9e55d87cf8fce837b6e60393cb1b9 Mon Sep 17 00:00:00 2001 From: Ivo van Dongen Date: Sat, 4 Mar 2017 18:44:13 -0800 Subject: [core] rename query options for query rendered features --- include/mbgl/map/map.hpp | 6 +++--- include/mbgl/map/query.hpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'include/mbgl/map') 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 queryRenderedFeatures(const ScreenCoordinate&, const QueryOptions& options = {}); - std::vector queryRenderedFeatures(const ScreenBox&, const QueryOptions& options = {}); - + std::vector queryRenderedFeatures(const ScreenCoordinate&, const RenderedQueryOptions& options = {}); + std::vector 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> layerIDs; -- cgit v1.2.1