GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GEO::CODER::MANY::MAPQUEST (3)

.ds Aq ’

NAME

Geo::Coder::Many::Mapquest - Mapquest plugin Geo::Coder::Many

CONTENTS

VERSION

Version 0.02

SYNOPSIS

This module adds Mapquest support to Geo::Coder::Many.

Use as follows:



    use Geo::Coder::Many;
    use Geo::Coder::Mapquest;
   
    my $options = { };
    my $geocoder_many = Geo::Coder::Many->new( $options );
    my $MQ = Geo::Coder::Mapquest->new(apikey => Your API key);
   
    my $options = {
        geocoder    => $MQ,
    };
   
    $geocoder_many->add_geocoder( $options );
   
    my $location = $geocoder_many->geocode(
        {
            location => 82 Clerkenwell Road, London, EC1M 5RF
        }
    );



MORE INFO

please see http://search.cpan.org/dist/Geo-Coder-Mapquest/ and http://developer.mapquest.com/web/products/dev-services/geocoding-ws

SUBROUTINES/METHODS

    geocode

This is called by Geo::Coder::Many - it sends the geocoding request (via Geo::Coder::Mapquest) and extracts the resulting location, returning it in a standard Geo::Coder::Many::Response.

NOTE: currently precision is hard coded to undef! We need to fix it to interpret the code returned by mapquest and assigning a meaningful precision

    get_name

Returns the name of the geocoder type - used by Geo::Coder::Many
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 GEO::CODER::MANY::MAPQUEST (3) 2013-12-09

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.