Geo::Google::StaticMaps is a Perl module that provides a simple wrapper around generating URLs for Google's Static Maps API. You can find out more about the Static Maps API here: http://code.google.com/apis/maps/documentation/staticmaps/.
At the time of writing this module supports all features supported by the Static Maps API, but arguments are provided as a data structure rather than as the (rather inconsistent) string representations required by the API.
There is a single public static method, called url, which will return a string containing a static map URL given a data structure of arguments. The various properties and their structures are given below.
SYNOPSIS
use Geo::Google::StaticMaps;
my $url = Geo::Google::StaticMaps->url(
key => "your Google Maps API key",
size => [ 400, 300 ],
center => [ 51.855970, 0.958499 ],
zoom => 13,
);
Product's homepage
Requirements:
· Perl