This commit is contained in:
Alexander Sytnyk 2018-01-23 18:47:42 +02:00
parent c29186a6a0
commit 9a2b5ec934

View file

@ -9,7 +9,6 @@ import net.osmand.plus.activities.MapActivity;
import net.osmand.plus.mapcontextmenu.builders.cards.ImageCard; import net.osmand.plus.mapcontextmenu.builders.cards.ImageCard;
import net.osmand.util.Algorithms; import net.osmand.util.Algorithms;
import org.json.JSONException;
import org.json.JSONObject; import org.json.JSONObject;
public class MapillaryImageCard extends ImageCard { public class MapillaryImageCard extends ImageCard {
@ -28,7 +27,7 @@ public class MapillaryImageCard extends ImageCard {
mapillaryPlugin.updateLayers(getMapActivity().getMapView(), getMapActivity(), true); mapillaryPlugin.updateLayers(getMapActivity().getMapView(), getMapActivity(), true);
} }
} }
getMapActivity().getContextMenu().hideMenues(); getMapActivity().getContextMenu().close();
MapillaryImageDialog.show(getMapActivity(), getKey(), getImageHiresUrl(), getUrl(), getLocation(), MapillaryImageDialog.show(getMapActivity(), getKey(), getImageHiresUrl(), getUrl(), getLocation(),
getCa(), getMyApplication().getString(R.string.mapillary), null, true); getCa(), getMyApplication().getString(R.string.mapillary), null, true);
} }