summaryrefslogtreecommitdiff
path: root/include/mbgl/map
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-04-29 18:28:34 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-05-03 17:25:49 -0700
commitc8391729c7af8edc142f0319ccffe2720cfb6c18 (patch)
tree7159629cb4f8c9b86ba39dd8c79b87e8f5cb432d /include/mbgl/map
parent01b3eac52f810b61dc2d5f0ea7a2bfa229daa01f (diff)
downloadqtlocation-mapboxgl-c8391729c7af8edc142f0319ccffe2720cfb6c18.tar.gz
[core] Use geometry.hpp feature type
Diffstat (limited to 'include/mbgl/map')
-rw-r--r--include/mbgl/map/map.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index 41f34c102b..3200484ec1 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -7,6 +7,7 @@
#include <mbgl/map/update.hpp>
#include <mbgl/map/mode.hpp>
#include <mbgl/util/geo.hpp>
+#include <mbgl/util/feature.hpp>
#include <mbgl/util/noncopyable.hpp>
#include <mbgl/annotation/annotation.hpp>
#include <mbgl/style/types.hpp>
@@ -159,8 +160,8 @@ public:
void removeCustomLayer(const std::string& id);
// Feature queries
- std::vector<std::string> queryRenderedFeatures(const ScreenCoordinate&, const optional<std::vector<std::string>>& layerIDs = {});
- std::vector<std::string> queryRenderedFeatures(const std::array<ScreenCoordinate, 2>&, const optional<std::vector<std::string>>& layerIDs = {});
+ std::vector<Feature> queryRenderedFeatures(const ScreenCoordinate&, const optional<std::vector<std::string>>& layerIDs = {});
+ std::vector<Feature> queryRenderedFeatures(const std::array<ScreenCoordinate, 2>&, const optional<std::vector<std::string>>& layerIDs = {});
// Memory
void setSourceTileCacheSize(size_t);