Calculates distance from current to URL