From e5f8972ff9b38a70e85c475621be29179360da48 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 20 Jun 2014 15:55:19 +0300 Subject: [PATCH] added navigate to next point to context menu --- .../net/osmand/plus/routepointsnavigation/RoutePointsLayer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/routepointsnavigation/RoutePointsLayer.java b/OsmAnd/src/net/osmand/plus/routepointsnavigation/RoutePointsLayer.java index 86cf47c7a5..360826efe4 100644 --- a/OsmAnd/src/net/osmand/plus/routepointsnavigation/RoutePointsLayer.java +++ b/OsmAnd/src/net/osmand/plus/routepointsnavigation/RoutePointsLayer.java @@ -81,6 +81,8 @@ public class RoutePointsLayer extends OsmandMapLayer implements ContextMenuLaye plugin.getCurrentRoute().markPoint(point, true); } else if (itemId == R.string.mark_as_current){ plugin.getCurrentRoute().navigateToPoint(point); + } else if (itemId == R.string.navigate_to_next){ + plugin.getCurrentRoute().naviateToNextPoint(); } } };