fixed bug in parking context menu

This commit is contained in:
Chumva 2018-02-27 17:27:40 +02:00
parent c033f1ad60
commit 2562ef6337

View file

@ -288,6 +288,7 @@ public class ParkingPositionPlugin extends OsmandPlugin {
if (parkingLayer != null) {
MapContextMenu menu = mapActivity.getContextMenu();
if (menu.isVisible()) {
menu.hide(false);
menu.show(new LatLon(parkingPosition.getLatitude(), parkingPosition.getLongitude()),
parkingLayer.getObjectName(parkingPosition), parkingPosition);
}