diff options
author | tobrun <tobrun.van.nuland@gmail.com> | 2019-12-18 17:35:47 +0100 |
---|---|---|
committer | Tobrun <tobrun.van.nuland@gmail.com> | 2019-12-19 10:21:02 +0100 |
commit | 47c87422a0b020bd9418d171f2aa0ed3ba524ca9 (patch) | |
tree | 4d445348946779245c1975bb254b65fef5145415 /platform/android/src/native_map_view.cpp | |
parent | 9a94c5f361e8a4e78cde6baa7214fb5425c2878c (diff) | |
download | qtlocation-mapboxgl-47c87422a0b020bd9418d171f2aa0ed3ba524ca9.tar.gz |
Revert "[core] Remove Map::cycleDebugOptions"
This reverts commit 1e2cd1e086c3053f1cea075d7641b7f56cc7dfbf.
Diffstat (limited to 'platform/android/src/native_map_view.cpp')
-rw-r--r-- | platform/android/src/native_map_view.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/android/src/native_map_view.cpp b/platform/android/src/native_map_view.cpp index 617f633699..d586a29bfb 100644 --- a/platform/android/src/native_map_view.cpp +++ b/platform/android/src/native_map_view.cpp @@ -595,6 +595,10 @@ void NativeMapView::setDebug(JNIEnv&, jni::jboolean debug) { map->setDebug(debugOptions); } +void NativeMapView::cycleDebugOptions(JNIEnv&) { + map->cycleDebugOptions(); +} + jni::jboolean NativeMapView::getDebug(JNIEnv&) { return map->getDebug() != DebugOptions::NoDebug; } @@ -1168,6 +1172,7 @@ void NativeMapView::registerNative(jni::JNIEnv& env) { METHOD(&NativeMapView::updateMarker, "nativeUpdateMarker"), METHOD(&NativeMapView::addMarkers, "nativeAddMarkers"), METHOD(&NativeMapView::setDebug, "nativeSetDebug"), + METHOD(&NativeMapView::cycleDebugOptions, "nativeCycleDebugOptions"), METHOD(&NativeMapView::getDebug, "nativeGetDebug"), METHOD(&NativeMapView::isFullyLoaded, "nativeIsFullyLoaded"), METHOD(&NativeMapView::onLowMemory, "nativeOnLowMemory"), |