WebService::StreetMapLink::Google - A WebService::StreetMapLink subclass for Google Maps
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;
This subclass generates links to Google Maps.
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".
This subclass requires that you provide an "address" parameter. You also must require either "city" and "state", or "postal_code".
David Rolsky, <autarch@urth.org>
<autarch@urth.org>
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.
bug-webservice-streetmaplink@rt.cpan.org
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.
To install WebService::StreetMapLink, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::StreetMapLink
CPAN shell
perl -MCPAN -e shell install WebService::StreetMapLink
For more information on module installation, please visit the detailed CPAN module installation guide.