Issues - Map moving in waypoint context menu #6473 - fixed

This commit is contained in:
madwasp79 2019-02-26 15:12:55 +02:00
parent 082d75aa3a
commit 113841139a

View file

@ -150,6 +150,7 @@ public class WptPtMenuBuilder extends MenuBuilder {
public void onClick(View v) {
LatLon latLon = new LatLon(point.getLatitude(), point.getLongitude());
PointDescription pointDescription = new PointDescription(PointDescription.POINT_TYPE_WPT, point.name);
mapActivity.getContextMenu().setCenterMarker(true);
mapActivity.getContextMenu().show(latLon, pointDescription, point);
}
});