diff options
author | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2020-03-25 10:38:03 +0200 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2020-03-25 07:01:42 -0400 |
commit | 2b37d81d73820b7393a134b865dc38a742ca90ca (patch) | |
tree | d58f1a0dd2b227b174b64df1485e15ab1fd10148 /platform/android/src/style/sources/geojson_source.cpp | |
parent | 77d95d27ceeec502bf3d316660594abf4ed61517 (diff) | |
download | qtlocation-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/geojson_source.cpp')
-rw-r--r-- | platform/android/src/style/sources/geojson_source.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/src/style/sources/geojson_source.cpp b/platform/android/src/style/sources/geojson_source.cpp index f68c9d8f42..0a287eb6da 100644 --- a/platform/android/src/style/sources/geojson_source.cpp +++ b/platform/android/src/style/sources/geojson_source.cpp @@ -50,7 +50,7 @@ GeoJSONSource::GeoJSONSource(jni::JNIEnv& env, const jni::String& sourceId, cons converter(std::make_unique<Actor<FeatureConverter>>(Scheduler::GetBackground(), source.as<style::GeoJSONSource>()->impl().getOptions())) {} -GeoJSONSource::GeoJSONSource(jni::JNIEnv& env, mbgl::style::Source& coreSource, AndroidRendererFrontend& frontend) +GeoJSONSource::GeoJSONSource(jni::JNIEnv& env, mbgl::style::Source& coreSource, AndroidRendererFrontend* frontend) : Source(env, coreSource, createJavaPeer(env), frontend), converter(std::make_unique<Actor<FeatureConverter>>(Scheduler::GetBackground(), source.as<style::GeoJSONSource>()->impl().getOptions())) {} |