Geo::Query::LatLong is a Perl module to query latitude and longitude from a city in any country. Useful to open specific locations in a Browser map. You can use a generic server or query the Google Maps API. In case of Google Maps you had to supply your Google key. Geo::Query::LatLong returns an uniform response independent of the chosen server.
SYNOPSIS
use Geo::Query::LatLong;
# Generic source
$geo = Geo::Query::LatLong->new( debug => 0 );
or
# Using Google Maps API
$geo = Geo::Query::LatLong->new( source => 'Google', apikey => 'Your API key' );
Product's homepage
Requirements:
· Perl