Update map_snapshotter.cpp (#16308)
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user