All map widgets / topbar for markers - zoom context menu
This commit is contained in:
parent
1fdb5c68f6
commit
67f5beba78
3 changed files with 1 additions and 4 deletions
|
@ -324,7 +324,6 @@ public class ContextMenuLayer extends OsmandMapLayer {
|
|||
}
|
||||
return false;
|
||||
}
|
||||
hideVisibleMenues();
|
||||
LatLon pointLatLon = tileBox.getLatLonFromPixel(point.x, point.y);
|
||||
menu.show(pointLatLon, null, null);
|
||||
|
||||
|
@ -805,7 +804,6 @@ public class ContextMenuLayer extends OsmandMapLayer {
|
|||
return true;
|
||||
|
||||
} else if (selectedObjects.size() > 1) {
|
||||
hideVisibleMenues();
|
||||
selectedObjectContextMenuProvider = null;
|
||||
showContextMenuForSelectedObjects(pointLatLon, selectedObjects);
|
||||
return true;
|
||||
|
|
|
@ -877,7 +877,7 @@ public class MapControlsLayer extends OsmandMapLayer {
|
|||
menuControl.updateVisibility(showBottomMenuButtons);
|
||||
|
||||
boolean showZoomButtons = !routeDialogOpened && !contextMenuOpened && !isInTrackAppearanceMode()
|
||||
&& !isInTrackMenuMode() && (!isInGpxApproximationMode() || !isPotrait())
|
||||
&& (!isInGpxApproximationMode() || !isPotrait())
|
||||
&& !isInFollowTrackMode() && (!isInChoosingRoutesMode() || !isInWaypointsChoosingMode() || !portrait);
|
||||
mapZoomIn.updateVisibility(showZoomButtons);
|
||||
mapZoomOut.updateVisibility(showZoomButtons);
|
||||
|
|
|
@ -425,7 +425,6 @@ public class MapQuickActionLayer extends OsmandMapLayer implements QuickActionRe
|
|||
measurementToolLayer.isInMeasurementMode() ||
|
||||
mapMarkersLayer.isInPlanRouteMode() ||
|
||||
gpxLayer.isInTrackAppearanceMode() ||
|
||||
mapControlsLayer.isInTrackMenuMode() ||
|
||||
mapRouteInfoMenu.isVisible() ||
|
||||
MapRouteInfoMenu.chooseRoutesVisible ||
|
||||
MapRouteInfoMenu.waypointsVisible ||
|
||||
|
|
Loading…
Reference in a new issue