[android] - expose getMap on native_map_view
This commit is contained in:
@@ -940,6 +940,10 @@ jni::jboolean NativeMapView::getPrefetchesTiles(JNIEnv&) {
|
||||
return jni::jboolean(map->getPrefetchZoomDelta() > 0);
|
||||
}
|
||||
|
||||
mbgl::Map& NativeMapView::getMap() {
|
||||
return *map;
|
||||
}
|
||||
|
||||
// Static methods //
|
||||
|
||||
jni::Class<NativeMapView> NativeMapView::javaClass;
|
||||
|
||||
Reference in New Issue
Block a user