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".
Please report any bugs or feature requests to
email@example.com, 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 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.