added navigate to next point to context menu

This commit is contained in:
unknown 2014-06-20 15:55:19 +03:00
parent a38063b77c
commit e5f8972ff9

View file

@ -81,6 +81,8 @@ public class RoutePointsLayer extends OsmandMapLayer implements ContextMenuLaye
plugin.getCurrentRoute().markPoint(point, true); plugin.getCurrentRoute().markPoint(point, true);
} else if (itemId == R.string.mark_as_current){ } else if (itemId == R.string.mark_as_current){
plugin.getCurrentRoute().navigateToPoint(point); plugin.getCurrentRoute().navigateToPoint(point);
} else if (itemId == R.string.navigate_to_next){
plugin.getCurrentRoute().naviateToNextPoint();
} }
} }
}; };