All map widgets / topbar for markers - zoom context menu

This commit is contained in:
androiddevkkotlin 2021-01-18 15:20:22 +02:00
parent 1fdb5c68f6
commit 67f5beba78
3 changed files with 1 additions and 4 deletions

View file

@ -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;

View file

@ -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);

View file

@ -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 ||