iterating through list of lat legs #1716

This commit is contained in:
Nicholas Hallahan
2015-07-16 07:55:10 -07:00
parent 61cfcdb33b
commit 7954c7d1ab

View File

@@ -524,6 +524,16 @@ jlong JNICALL nativeAddPolyline(JNIEnv *env, jobject obj, jlong nativeMapViewPtr
return -1;
}
for (jsize i = 0; i < len; i++) {
jobject jobj = reinterpret_cast<jobject>(env->GetObjectArrayElement(array, i));
if (jobj == nullptr) {
env->ExceptionDescribe();
return -1;
}
// vector.push_back(std_string_from_jstring(env, jstr));
}
return (jlong)width;
}