NAME
Catalyst::Plugin::Geocoding - Geocoding plugin
SYNOPSIS
# In App.pm
use Catalyst qw(Geocoding);
__PACKAGE__->config(gmap_key => 'your_key_to_google_maps');
# In App/Controller/YourController.pm
sub index : Private {
my ($self, $c) = @_;
my ($result, $status, $accuracy, $latitude, $longitude)
= $c->geocoding($c->req->params->{location_name});
}
DESCRIPTION
This module retrieves geocoding results from google. The returned data is in CSV format.
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Yung-chung Lin (henearkrxern@gmail.com)