Classes


Namespace Geo

Class for retrieving location-based data.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Geo
Method Summary
Method Attributes Method Name and Description
<static>  
Gets the latitude and longitude for a U.S.
<static>  
Geo.getNearbyZips(zip, radius)
Gets the surrounding zip codes of a given zip code
Namespace Detail
Geo
Method Detail
<static> {Object} Geo.getCoordinatesFromZip(zip)
Gets the latitude and longitude for a U.S. postal code.
Parameters:
{String} zip
The zip code to get lat/long data for
Returns:
An Object containing latitude and longitude properties.

<static> {Array} Geo.getNearbyZips(zip, radius)
Gets the surrounding zip codes of a given zip code
Parameters:
{String} zip
The zip code to center on
radius
Returns:
An Array of strings of the surrounding zip codes

Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 14 2011 05:41:51 GMT-0400 (EDT)