Show context menu with coordinates on long tap

This commit is contained in:
Vitaliy 2020-09-17 14:34:33 +03:00
parent 18572799c4
commit 90292541ef

View file

@ -323,7 +323,9 @@ public class ContextMenuLayer extends OsmandMapLayer {
return false;
}
showContextMenu(point, tileBox, true);
LatLon pointLatLon = tileBox.getLatLonFromPixel(point.x, point.y);
menu.show(pointLatLon, null, null);
view.refreshMap();
return true;
}