diff options
author | Kevin Li <kevin.li@mapbox.com> | 2020-03-16 08:03:30 +0800 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2020-03-16 06:22:56 -0400 |
commit | 6fd0c774a6e789ca8013616c3b68481160453e46 (patch) | |
tree | 54db0cc4377f2bac67e97de726583cf963053025 | |
parent | 09d307db14514479a8f2fbbd6e6a98496b1f23c7 (diff) | |
download | qtlocation-mapboxgl-6fd0c774a6e789ca8013616c3b68481160453e46.tar.gz |
Update map_snapshotter.cpp (#16308)
-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)); } } |