distance class

Package:
distance class
Summary:
Calculate the air distance between two cities
Groups:
Geography, PHP 5, Web services
Author:
Thomas Jakober
Description:
This class can be used to calculate the air distance between two cities.

It calls the Google Maps API to obtain the latitude and longitude of the cities given their names.

The class uses the retrieved locations to compute the air distance between the cities in either kilometers, miles or sea miles.


Powered by Gewgley