changed miles to meters in the server's distance conversion function