itinero/routing

Route Resolve Error - ArgumentOutOfRangeException

Opened this issue · 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?