Vincent Launchbury > Geo-Coder-Many-0.3 > Geo::Coder::Many::Generic

Download:
Geo-Coder-Many-0.3.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Geo-Coder-Many-0.45

NAME ^

Geo::Coder::Many::Generic - Base plugin class

DESCRIPTION ^

Base class for Geo::Coder::Many::* (Geo::Coder wrapper) classes

METHODS ^

new

Construct and return a new instance of the class. Arguments should be provided in a hash with keys 'geocoder' and 'daily_limit'.

geocode

The main geocode method, to be overridden by subclasses. Should take a location string, geocode it using the wrapped class, and return the results (converted to a standard format)

get_daily_limit

Getter for daily_limit.

get_name

Return the short name of the geocoder being wrapped (should be overriden by the subclass)

syntax highlighting: