http://www.avtodispetcher.ru/distance/Distance calculation is based on the shortest path algorithm Dijkstra.