☼ 林永忠 ☼ > Catalyst-Plugin-Geocoding-0.01 > Catalyst::Plugin::Geocoding

Download:
Catalyst-Plugin-Geocoding-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.01   Source  

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)