summaryrefslogtreecommitdiff
path: root/platform/android/src/style/sources/vector_source.cpp
diff options
context:
space:
mode:
authorAlexander Shalamov <alexander.shalamov@mapbox.com>2020-03-25 10:38:03 +0200
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2020-03-25 07:01:42 -0400
commit2b37d81d73820b7393a134b865dc38a742ca90ca (patch)
treed58f1a0dd2b227b174b64df1485e15ab1fd10148 /platform/android/src/style/sources/vector_source.cpp
parent77d95d27ceeec502bf3d316660594abf4ed61517 (diff)
downloadqtlocation-mapboxgl-2b37d81d73820b7393a134b865dc38a742ca90ca.tar.gz
[android] Expose getLayer, getSource and Observer interface for snapshotter
So that users can modify properties of an existing layer / source objects
Diffstat (limited to 'platform/android/src/style/sources/vector_source.cpp')
-rw-r--r--platform/android/src/style/sources/vector_source.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/platform/android/src/style/sources/vector_source.cpp b/platform/android/src/style/sources/vector_source.cpp
index e46fc1a94e..2be1a78119 100644
--- a/platform/android/src/style/sources/vector_source.cpp
+++ b/platform/android/src/style/sources/vector_source.cpp
@@ -30,11 +30,8 @@ namespace android {
) {
}
- VectorSource::VectorSource(jni::JNIEnv& env,
- mbgl::style::Source& coreSource,
- AndroidRendererFrontend& frontend)
- : Source(env, coreSource, createJavaPeer(env), frontend) {
- }
+ VectorSource::VectorSource(jni::JNIEnv& env, mbgl::style::Source& coreSource, AndroidRendererFrontend* frontend)
+ : Source(env, coreSource, createJavaPeer(env), frontend) {}
VectorSource::~VectorSource() = default;