Skip to content

Commit

Permalink
Specifically naming the sprite in JNI adds a marker to the map mapbox…
Browse files Browse the repository at this point in the history
  • Loading branch information
hallahan committed Jul 13, 2015
1 parent ef31fc5 commit 3ab8e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/cpp/jni.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3ab8e6c

Please sign in to comment.