summaryrefslogtreecommitdiff
path: root/include/mbgl/map
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-05-12 14:27:12 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-05-13 09:01:32 -0700
commit8ec0b70722c704545c4c1953799c43481a038489 (patch)
tree6ebe4c9eaa09629c39a1be1ab4bfc53b8a0176bf /include/mbgl/map
parent57fcfabd77a834245e7ae62d4e11439d114eaf71 (diff)
downloadqtlocation-mapboxgl-8ec0b70722c704545c4c1953799c43481a038489.tar.gz
[core] Use mapbox::geometry::box in queryRenderedFeatures
Diffstat (limited to 'include/mbgl/map')
-rw-r--r--include/mbgl/map/map.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index 885fc6716c..39f0c86959 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -165,8 +165,8 @@ public:
void removeCustomLayer(const std::string& id);
// Feature queries
- 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 = {});
+ std::vector<Feature> queryRenderedFeatures(const ScreenCoordinate&, const optional<std::vector<std::string>>& layerIDs = {});
+ std::vector<Feature> queryRenderedFeatures(const ScreenBox&, const optional<std::vector<std::string>>& layerIDs = {});
// Memory
void setSourceTileCacheSize(size_t);