summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
authorKevin Li <kevin.li@mapbox.com>2020-03-16 08:03:30 +0800
committerGitHub <noreply@github.com>2020-03-16 08:03:30 +0800
commit3aa80ff407cf31aeda659132187219617920e816 (patch)
tree9bd951934219c1c01bfc87952ab0bb2ea7beb0e5 /platform/android
parent7d77a55fe05266ead14f20d49d9a19a5709d6a8e (diff)
downloadqtlocation-mapboxgl-3aa80ff407cf31aeda659132187219617920e816.tar.gz
Update map_snapshotter.cpp (#16308)
Diffstat (limited to 'platform/android')
-rw-r--r--platform/android/src/snapshotter/map_snapshotter.cpp2
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));
}
}