コード例 #1
0
        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);
            }
        }
コード例 #2
0
        private void editRoutePointCommand(object obj)
        {
            var page = new RoutePointV2Page(_routeObject.RouteId, _pointObject.RoutePointId);

            Navigation.PushAsync(page);
        }
コード例 #3
0
 async void addNewRoutePointAsync()
 {
     var routePointPage = new RoutePointV2Page(_vroute.Id, string.Empty);
     await Navigation.PushModalAsync(routePointPage, true);
 }