I 've created an mmpk file of a network dataset using ArcGIS Pro v1.2. This file is consumed in an arcgis runtime WPF application for routing purposes. Everything works ok except for the <<route.StartTime>> which is always null. I am not facing the same issue when i use an mmpk file obtained from ESRI. This leads me to the assumption that something is wrong with my mmpk file. The code apart from that works perfectly.
Below are some explanatory parts of my code.
solveRouteTask = await RouteTask.CreateAsync(_transportationNetwork); routeParameters = await solveRouteTask.CreateDefaultParametersAsync(); routeParameters.StartTime = DateTime.Now; solveRouteResult = await solveRouteTask.SolveRouteAsync(routeParameters);
I 've attached an screeshot where time format is shown. Can anyone suggest me a solution?
hi there i updated to the latest version (2.6) but the issue remains, any ideas?
Hi,
Are you able to update to the latest version of ArcGIS Pro (2.5.1) and retest?
Thanks
Mike
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.