routing icon indicating copy to clipboard operation
routing copied to clipboard

Route Resolve Error - ArgumentOutOfRangeException

Open johnjore opened this issue 2 months ago • 0 comments

Occasionally this happens:

RouterPoint rp = router.Resolve(profile, new Itinero.LocalGeo.Coordinate((float)cLocation.Latitude, (float)cLocation.Longitude));

System.ArgumentOutOfRangeException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection. (Parameter 'count')
at Itinero.Result`1[[Itinero.RouterPoint, Itinero, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].get_Value()

Bug in resolve?

johnjore avatar May 14 '24 03:05 johnjore