This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(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) { |