NAME
FWS::V2::Geo - Framework Sites version 2 geo location methods
VERSION
Version 1.13091122
SYNOPSIS
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' );
DESCRIPTION
Framework Sites version 2 geographic methods for use with zip code and city searching.
METHODS
countryArray
Return the array of countries from the DB with name, twoCharacter, and threeCharacter keys.
locationCenterHash
Find the lat and long of a city based on its zip codes located in it.
cityArray
return a list of cities based on keywords, state, or autoComplete style which will search based on an uncomplete query text.
updateZipArray
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
zipHash
Return information about a zip code by passing zip
AUTHOR
Nate Lewis, <nlewis at gnetworks.com>
BUGS
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.
SUPPORT
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)
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
LICENSE AND COPYRIGHT
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.