Take me over?
NAME
WebService::StreetMapLink::Google - A WebService::StreetMapLink subclass for Google Maps
SYNOPSIS
use WebService::StreetMapLink;
my $map =
WebService::StreetMapLink->new
( country => 'usa',
address => '100 Some Street',
city => 'Testville',
state => 'MN',
postal_code => '12345',
);
my $uri = $map->uri;
DESCRIPTION
This subclass generates links to Google Maps.
COUNTRIES
This subclass handles the USA and UK. It's priority (99), is higher than the MapQuest subclass, so it is preferred for addresses in the USA. For the UK, the country should be given as "uk" or "united kingdom".
new() PARAMETERS
This subclass requires that you provide an "address" parameter. You also must require either "city" and "state", or "postal_code".
AUTHOR
David Rolsky, <autarch@urth.org>
BUGS
Please report any bugs or feature requests to bug-webservice-streetmaplink@rt.cpan.org
, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
COPYRIGHT & LICENSE
Copyright 2004-2007 David Rolsky, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.