Remove context marker on map tap
This commit is contained in:
parent
7b9df344b6
commit
9576a01751
2 changed files with 4 additions and 2 deletions
|
@ -609,7 +609,8 @@ public class MapContextMenu extends MenuTitleController implements StateChangedL
|
|||
|
||||
public void onSingleTapOnMap() {
|
||||
if (menuController == null || !menuController.handleSingleTapOnMap()) {
|
||||
hide();
|
||||
updateMapCenter(null);
|
||||
close();
|
||||
if (mapActivity.getMapLayers().getMapQuickActionLayer().isLayerOn()) {
|
||||
mapActivity.getMapLayers().getMapQuickActionLayer().refreshLayer();
|
||||
}
|
||||
|
|
|
@ -763,7 +763,8 @@ public class ContextMenuLayer extends OsmandMapLayer {
|
|||
|
||||
if (movementListener.onTouchEvent(event)) {
|
||||
if (menu.isVisible()) {
|
||||
menu.hide();
|
||||
menu.updateMapCenter(null);
|
||||
menu.close();
|
||||
}
|
||||
if (multiSelectionMenu.isVisible()) {
|
||||
multiSelectionMenu.hide();
|
||||
|
|
Loading…
Reference in a new issue