diff options
author | kevin <kevin.li@mapbox.com> | 2020-03-14 10:05:55 +0800 |
---|---|---|
committer | kevin <kevin.li@mapbox.com> | 2020-03-14 10:05:55 +0800 |
commit | 00d3a3d692f1aa0b70a8e9e0e0eb7c0d86413eca (patch) | |
tree | 9bd951934219c1c01bfc87952ab0bb2ea7beb0e5 | |
parent | 7d77a55fe05266ead14f20d49d9a19a5709d6a8e (diff) | |
download | qtlocation-mapboxgl-upstream/kl-snapshotter-url.tar.gz |
Update map_snapshotter.cppupstream/kl-snapshotter-url
-rw-r--r-- | platform/android/src/snapshotter/map_snapshotter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/src/snapshotter/map_snapshotter.cpp b/platform/android/src/snapshotter/map_snapshotter.cpp index e888cae3df..852e1f6adb 100644 --- a/platform/android/src/snapshotter/map_snapshotter.cpp +++ b/platform/android/src/snapshotter/map_snapshotter.cpp @@ -57,7 +57,7 @@ MapSnapshotter::MapSnapshotter(jni::JNIEnv& _env, if (styleJSON) { snapshotter->setStyleJSON(jni::Make<std::string>(_env, styleJSON)); } else { - snapshotter->setStyleJSON(jni::Make<std::string>(_env, styleURL)); + snapshotter->setStyleURL(jni::Make<std::string>(_env, styleURL)); } } |