add line distance in map