internal async void OpenPointPropertiesAsync(double latitude, double longitude) { RoutePoint point = _routePointManager.GetPointByCoordinates(latitude, longitude); if (point != null && point.MainRoute != null) { var routePointPage = new RoutePointV2Page(point.MainRoute.RouteId, point.RoutePointId); await Navigation.PushModalAsync(routePointPage, true); } }
private void editRoutePointCommand(object obj) { var page = new RoutePointV2Page(_routeObject.RouteId, _pointObject.RoutePointId); Navigation.PushAsync(page); }
async void addNewRoutePointAsync() { var routePointPage = new RoutePointV2Page(_vroute.Id, string.Empty); await Navigation.PushModalAsync(routePointPage, true); }