From 00d3a3d692f1aa0b70a8e9e0e0eb7c0d86413eca Mon Sep 17 00:00:00 2001 From: kevin Date: Sat, 14 Mar 2020 10:05:55 +0800 Subject: [PATCH] Update map_snapshotter.cpp --- platform/android/src/snapshotter/map_snapshotter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/android/src/snapshotter/map_snapshotter.cpp b/platform/android/src/snapshotter/map_snapshotter.cpp index e888cae3dff..852e1f6adb1 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(_env, styleJSON)); } else { - snapshotter->setStyleJSON(jni::Make(_env, styleURL)); + snapshotter->setStyleURL(jni::Make(_env, styleURL)); } }