[core] Annotation refactor

This commit is contained in:
John Firebaugh
2015-10-14 18:08:02 -07:00
parent 597b2b4851
commit c5b95032a5
23 changed files with 468 additions and 670 deletions

View File

@@ -1096,7 +1096,7 @@ jlongArray JNICALL nativeGetAnnotationsInBounds(JNIEnv *env, jobject obj, jlong
bounds.ne = { neLat, neLon };
// assume only points for now
std::vector<uint32_t> annotations = nativeMapView->getMap().getAnnotationsInBounds(bounds, mbgl::AnnotationType::Point);
std::vector<uint32_t> annotations = nativeMapView->getMap().getPointAnnotationsInBounds(bounds);
return std_vector_uint_to_jobject(env, annotations);
}