This solves some routes that would have become broken when the new server-side routing was implemented. The calls to findNearest() were passing {} as the third param (options) instead of the pointfinderoptions it should have been.
Second, an extraneous pointfinderoptions was being passed as the 5th param, which is no longer used in this new layout. This has been removed.
A route from Baltimore, MD to Richmond, VA now properly selectes the nearest available node instead of insisting on W Grace Ave which cannot be reached directly.
This solves some routes that would have become broken when the new server-side routing was implemented. The calls to
findNearest()
were passing{}
as the third param (options) instead of thepointfinderoptions
it should have been.Second, an extraneous
pointfinderoptions
was being passed as the 5th param, which is no longer used in this new layout. This has been removed.A route from Baltimore, MD to Richmond, VA now properly selectes the nearest available node instead of insisting on W Grace Ave which cannot be reached directly.