I need to calculate straight line distances between registered users, knowing their British post code.
First I thought I ought to use Google Maps Distance matrix API but I realised it doesn’t provide straight line distance. Is there any easier way than using Geocoding API to get latitude and longitude and creating a function described here?
OK, I think I can select ‘distance from’ option, my problem was the post code was not of type geographical address, so the ‘distance from’ option was not showing