Specifically naming the sprite in JNI adds a marker to the map #1716

This commit is contained in:
Nicholas Hallahan
2015-07-13 11:59:54 -07:00
parent ef31fc5aed
commit 3ab8e6c0dd

View File

@@ -436,7 +436,7 @@ void JNICALL nativeAddAnnotation(JNIEnv *env, jobject obj, jlong nativeMapViewPt
return;
}
nativeMapView->getMap().addPointAnnotation(mbgl::LatLng(latitude, longitude), std::string(""));
nativeMapView->getMap().addPointAnnotation(mbgl::LatLng(latitude, longitude), std::string("default_marker"));
}
jobject JNICALL nativeGetLatLng(JNIEnv *env, jobject obj, jlong nativeMapViewPtr) {