What?
An article with a quick snippet of code which builds up the address from a Lead record to geocode into latitude and longitude coordinates to feed a third-party API which returns a timezone.
...
What?
A quick article to document how to calculate the distance "as the crow files" between two coordinates given the latitude and longitude of each.
Why?
Well, you can pay for a good Google solution ...
...
Upload and Install the Zip
Go to the Extensions > Module Manager
Configure the module "Joes Google Map" (especially the "Menu Assignment")
Set the latitude and longitude of where the map starts
Set ...
... M put the formula:
=IF(F1="N", K1, K1 * -1)
In column N put the formula:
=IF(J1="E", L1, L1 * -1)
There we go! Column M has your latitude and Column N has your longitude.
With the example ...
... up to 100 zones
Explore area within 0.15 degrees latitude & longitude
UK military bases added
Australian RAAF bases added
Canadian military bases added
Chinese military air bases added
Known ...
... // Get latitude of the current location
double latitude = myLocation.getLatitude();
// Get longitude of the current location
double longitude = myLocation.getLongitude();
...
... working on iOS and certain smartphones
Advantages
No copyright, watermarks and as configurable as revolvermaps
Can feed any list of latitude/longitude.
Working on...
Image Switch ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.