Skip to content

RouteProvider

Roath04 edited this page Jul 27, 2017 · 5 revisions

calculateDistanceBounds

The distance input was initially in km, then it changed somewhere in metres and then later on changed back in km because the server requests a distance in km. Because of this confusion we set initial input in metres and only change it in km during the server request. This is done by dividing distance by 1000.

--> Changed line of code

Clone this wiki locally