Calculate the distance between two points.
return the distance between two points.
one point in the map.
another point in the map.