mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
[drape] Allow controlling viewport restoration on DeactivateMapSelection
Signed-off-by: hemanggs <hemangmanhas@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
fc199252eb
commit
90492e95e6
@@ -621,9 +621,9 @@ void Framework::DeactivatePopup()
|
||||
m_work.DeactivateMapSelection();
|
||||
}
|
||||
|
||||
void Framework::DeactivateMapSelectionCircle()
|
||||
void Framework::DeactivateMapSelectionCircle(bool restoreViewport)
|
||||
{
|
||||
m_work.DeactivateMapSelectionCircle();
|
||||
m_work.DeactivateMapSelectionCircle(restoreViewport);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -1448,9 +1448,9 @@ Java_app_organicmaps_sdk_Framework_nativeDeactivatePopup(JNIEnv * env, jclass)
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL
|
||||
Java_app_organicmaps_sdk_Framework_nativeDeactivateMapSelectionCircle(JNIEnv * env, jclass)
|
||||
Java_app_organicmaps_sdk_Framework_nativeDeactivateMapSelectionCircle(JNIEnv * env, jclass, jboolean restoreViewport)
|
||||
{
|
||||
return g_framework->DeactivateMapSelectionCircle();
|
||||
return g_framework->DeactivateMapSelectionCircle(restoreViewport);
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL
|
||||
|
||||
@@ -171,7 +171,7 @@ namespace android
|
||||
void ExecuteMapApiRequest();
|
||||
|
||||
void DeactivatePopup();
|
||||
void DeactivateMapSelectionCircle();
|
||||
void DeactivateMapSelectionCircle(bool restoreViewport);
|
||||
|
||||
// std::string GetOutdatedCountriesString();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user