Alex Balhatchet
and 1 contributors

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)