Show context menu with coordinates on long tap
This commit is contained in:
parent
18572799c4
commit
90292541ef
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue