diff options
author | Kevin Li <kevin.li@mapbox.com> | 2020-03-16 08:03:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-16 08:03:30 +0800 |
commit | 3aa80ff407cf31aeda659132187219617920e816 (patch) | |
tree | 9bd951934219c1c01bfc87952ab0bb2ea7beb0e5 /platform/android | |
parent | 7d77a55fe05266ead14f20d49d9a19a5709d6a8e (diff) | |
download | qtlocation-mapboxgl-3aa80ff407cf31aeda659132187219617920e816.tar.gz |
Update map_snapshotter.cpp (#16308)
Diffstat (limited to 'platform/android')
-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)); } } |