diff options
author | Ivo van Dongen <info@ivovandongen.nl> | 2017-06-23 16:05:08 -0700 |
---|---|---|
committer | Ivo van Dongen <ivovandongen@users.noreply.github.com> | 2017-07-18 10:45:12 +0200 |
commit | b6d56ad634e2b3048e97bedd9f674aa4ec975453 (patch) | |
tree | efb55047ab705703ab43983b8728837f8ea82e96 /platform/darwin/src/MGLVectorSource.mm | |
parent | b97cc980e079552219e95130b14a9aa906cd0aea (diff) | |
download | qtlocation-mapboxgl-b6d56ad634e2b3048e97bedd9f674aa4ec975453.tar.gz |
[ios][macos] rendering interface changes
Diffstat (limited to 'platform/darwin/src/MGLVectorSource.mm')
-rw-r--r-- | platform/darwin/src/MGLVectorSource.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLVectorSource.mm b/platform/darwin/src/MGLVectorSource.mm index 7265690f4d..431e0c250c 100644 --- a/platform/darwin/src/MGLVectorSource.mm +++ b/platform/darwin/src/MGLVectorSource.mm @@ -10,6 +10,7 @@ #include <mbgl/map/map.hpp> #include <mbgl/style/sources/vector_source.hpp> +#include <mbgl/renderer/renderer.hpp> @interface MGLVectorSource () @@ -64,7 +65,7 @@ std::vector<mbgl::Feature> features; if (self.style) { - features = self.style.mapView.mbglMap->querySourceFeatures(self.rawSource->getID(), { optionalSourceLayerIDs, optionalFilter }); + features = self.style.mapView.renderer->querySourceFeatures(self.rawSource->getID(), { optionalSourceLayerIDs, optionalFilter }); } return MGLFeaturesFromMBGLFeatures(features); } |