Fix #9582
This commit is contained in:
parent
64216d19f0
commit
03bee1df46
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue