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
committerFabian Guerra Soto <fabian.guerra@mapbox.com>2017-11-01 09:23:53 -0400
commit0c5e15e21eb5815f064211226d267e4c6f7fdcf3 (patch)
tree551d78173a5ab65417011866e8b4436a294d7b61 /platform/android/src/snapshotter/map_snapshot.hpp
parent74662831f6dd07851628f5da5f63c4aad3275d08 (diff)
downloadqtlocation-mapboxgl-0c5e15e21eb5815f064211226d267e4c6f7fdcf3.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&) {};