public void FindRoute() { try { FindRoutePrivate(); view.RouteIsValid = true; } catch (Exception ex) { view.ShowMessage(ex.Message, MessageLevel.Warning); } }
public static void ShowMapBrowser(this ISupportActionContextMenu view, RouteGroup route) { if (route == null) { view.ShowMessage("Please find a route first.", MessageLevel.Info); return; } view.ShowMapBrowser(route.Expanded); }