From f3defbb7c9db58ceb92e808e583f7eaa6edd71ec Mon Sep 17 00:00:00 2001 From: Dave Guarino Date: Mon, 25 Aug 2014 13:17:56 -0700 Subject: [PATCH] Edit search to use Oakland bounding box and name --- js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/main.js b/js/main.js index 6a23c68..dc43898 100755 --- a/js/main.js +++ b/js/main.js @@ -2,7 +2,7 @@ var map; var markers = []; var fromAddressSearch =false; var __defaults = { - city_name: 'San Francisco', + city_name: 'Oakland', data_url: 'http://data.codeforamerica.org/soft-story', bounds: [37.85615, -122.35233, 37.719948, -122.129516], center: [37.80327385, -122.257575988], @@ -483,7 +483,7 @@ $(function(){ var data = {outFormat:"json", inFormat:"kvp", key:__defaults.mapquest_key, - boundingBox:"37.816,-122.536,37.693,-122.340", + boundingBox:"37.85615,-122.35233,37.719948,-122.129516", location:$("#address").val() + ', ' + __defaults.city_name}; $.ajax(url, {data: data, dataType: 'jsonp', success: onAddressFound});