This commit is contained in:
kotlin 2020-08-12 19:15:32 +03:00
parent 64216d19f0
commit 03bee1df46

View file

@ -268,10 +268,11 @@ public class ParkingPositionPlugin extends OsmandPlugin {
void showContextMenuIfNeeded(final MapActivity mapActivity, boolean animated) {
MapContextMenu menu = mapActivity.getContextMenu();
FavouritePoint pnt = app.getFavorites().getSpecialPoint(SpecialPointType.PARKING);
if (menu.isVisible()) {
menu.hide(animated);
menu.show(new LatLon(parkingPosition.getLatitude(), parkingPosition.getLongitude()),
getObjectName(parkingPosition), parkingPosition);
getObjectName(parkingPosition), pnt);
}
}