AnsweredAssumed Answered

Access violation when routing with offline map

Question asked by RobrechtU on Jul 10, 2019
Latest reply on Sep 10, 2019 by MBranscomb-esristaff


When creating MapPoints to define stops for a route, I was under the impression that these would accept longitude and latitude coordinates. I tried to calculate a route using these coordinates and my application had a hard crash due to an access violation.

I figured out that I could convert from longitude latitude to mappoints using CoordinateFormatter.FromLatitudeLongitude(). This has solved my issue. I guess before it was trying to route between points that were not in the offline map package I was using. 

I thought I would let you know about this hard crash. Attached is a project that reproduces the issue. I am using 100.5.0 of the .NET SDK and I'm using the belgium.mmpk map which I downloaded from I also tried the 100.4.0 .NET SDK and got the same problem.

Kind regards,