summaryrefslogtreecommitdiff
path: root/platform/android/src/snapshotter/map_snapshot.hpp
diff options
context:
space:
mode:
authorIvo van Dongen <info@ivovandongen.nl>2017-10-27 20:08:47 +0300
committerIvo van Dongen <ivovandongen@users.noreply.github.com>2017-10-31 19:52:08 +0200
commite0a305247abcf58c4d1d0ef234d7a9b1ba768554 (patch)
treebf859963e29318eaf15c2fa74a3e6c7c0a0e1d48 /platform/android/src/snapshotter/map_snapshot.hpp
parent2d81186fc1b05921c4ca996461b7c743b0a97dec (diff)
downloadqtlocation-mapboxgl-e0a305247abcf58c4d1d0ef234d7a9b1ba768554.tar.gz
[android] map snapshotter - expose attributions
Diffstat (limited to 'platform/android/src/snapshotter/map_snapshot.hpp')
-rw-r--r--platform/android/src/snapshotter/map_snapshot.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/android/src/snapshotter/map_snapshot.hpp b/platform/android/src/snapshotter/map_snapshot.hpp
index 6d60d49728..64090bb48b 100644
--- a/platform/android/src/snapshotter/map_snapshot.hpp
+++ b/platform/android/src/snapshotter/map_snapshot.hpp
@@ -7,6 +7,9 @@
#include "../geometry/lat_lng.hpp"
#include "../graphics/pointf.hpp"
+#include <vector>
+#include <string>
+
namespace mbgl {
namespace android {
@@ -22,6 +25,7 @@ public:
static jni::Object<MapSnapshot> New(JNIEnv& env,
PremultipliedImage&& image,
float pixelRatio,
+ std::vector<std::string> attributions,
PointForFn pointForFn);
MapSnapshot(jni::JNIEnv&) {};