diff options
author | Nicholas Hallahan <nick@theoutpost.io> | 2015-07-13 11:59:54 -0700 |
---|---|---|
committer | Nicholas Hallahan <nick@theoutpost.io> | 2015-07-13 11:59:54 -0700 |
commit | 3ab8e6c0dd614ff46683ceccf9cdbd2c38bc5294 (patch) | |
tree | 9e6cfb8f6687ff895a5d644a60d26dbf8cb9d9d8 | |
parent | ef31fc5aed4e07b3d9e98b25180b8f809d51a5cf (diff) | |
download | qtlocation-mapboxgl-3ab8e6c0dd614ff46683ceccf9cdbd2c38bc5294.tar.gz |
Specifically naming the sprite in JNI adds a marker to the map #1716
-rw-r--r-- | android/cpp/jni.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/cpp/jni.cpp b/android/cpp/jni.cpp index bfa07a2ffb..f3cc1dc072 100644 --- a/android/cpp/jni.cpp +++ b/android/cpp/jni.cpp @@ -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) { |