FWS::V2::Geo - Framework Sites version 2 geo location methods
Version 1.13091122
use FWS::V2; my $fws = FWS::V2->new(); # # Return the center of grand rapids michigan zip codes # my %locationCenterHash = $fws->locationCenterHash( city => 'Grand Rapids', state => 'mi' );
Framework Sites version 2 geographic methods for use with zip code and city searching.
Return the array of countries from the DB with name, twoCharacter, and threeCharacter keys.
Find the lat and long of a city based on its zip codes located in it.
return a list of cities based on keywords, state, or autoComplete style which will search based on an uncomplete query text.
Recompile a zip code array adding extra keys that relate to the passed zip code.
The following keys will be added: zipState zipStateAbbr zipAreaCode zipUTC zipLatitude zipLongitude zipCounty zipDistance
Return information about a zip code by passing zip
Nate Lewis, <nlewis at gnetworks.com>
<nlewis at gnetworks.com>
Please report any bugs or feature requests to bug-fws-v2 at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=FWS-V2. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-fws-v2 at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc FWS::V2::Geo
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=FWS-V2
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/FWS-V2
CPAN Ratings
http://cpanratings.perl.org/d/FWS-V2
Search CPAN
http://search.cpan.org/dist/FWS-V2/
Copyright 2013 Nate Lewis.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install FWS::V2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FWS::V2
CPAN shell
perl -MCPAN -e shell install FWS::V2
For more information on module installation, please visit the detailed CPAN module installation guide.