Skip to content

Instantly share code, notes, and snippets.

Andrew Badr reverie

Block or report user

Report or block reverie

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
reverie / simplegeo_zips.js
Created Nov 19, 2011 — forked from joshsmith/simplegeo_zips.js
Finding zip codes within the radius of a given address using SimpleGeo (with JS!)
View simplegeo_zips.js
$(document).ready(function() {
simplegeo_key = 'TOKEN';
var places_client = new simplegeo.Places12Client(simplegeo_key);
var context_client = new simplegeo.ContextClient(simplegeo_key);
// Given an address and radius (and the SimpleGeo client), returns
// a comma-separated list of zip codes within that radius.
function get_nearby_zips(address, radius, places_client, callback) {
You can’t perform that action at this time.