Remove context marker on map tap
This commit is contained in:
parent
f2b037d3c2
commit
8c9eb7cb55
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