NAME

WebService::StreetMapLink::MapQuest - A WebService::StreetMapLink subclass for MapQuest

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 MapQuest.

COUNTRIES

This subclass handles USA and Canada.

new() PARAMETERS

This subclass requires that you provide an "address" parameter. You also must require either "city" and "state", or "postal_code".

It also accept an additional parameter, "zoom", which can be a numbe from 1-9. This determines the zoom level on the map. It defaults to 8.

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.