summaryrefslogtreecommitdiff
path: root/src/mbgl/source/source.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/source/source.hpp')
-rw-r--r--src/mbgl/source/source.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mbgl/source/source.hpp b/src/mbgl/source/source.hpp
index a4b6961245..cc579e11e7 100644
--- a/src/mbgl/source/source.hpp
+++ b/src/mbgl/source/source.hpp
@@ -7,6 +7,7 @@
#include <mbgl/util/mat4.hpp>
#include <mbgl/util/rapidjson.hpp>
+#include <mbgl/util/feature.hpp>
#include <forward_list>
#include <vector>
@@ -72,7 +73,7 @@ public:
std::forward_list<Tile *> getLoadedTiles() const;
const std::vector<Tile*>& getTiles() const;
- std::unordered_map<std::string, std::vector<std::string>> queryRenderedFeatures(
+ std::unordered_map<std::string, std::vector<Feature>> queryRenderedFeatures(
const std::vector<TileCoordinate>& queryGeometry,
const double zoom,
const double bearing,