Calculate distance from map route.