Update map_snapshotter.cpp (#16308)

This commit is contained in:
Kevin Li
2020-03-16 08:03:30 +08:00
committed by GitHub
parent 7d77a55fe0
commit 3aa80ff407

View File

@@ -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));
}
}