var map_data = {"restaurants": [{"id":"115105","name":"Alta CA","lat":"37.7761","lng":"-122.418","address":"1420 Market Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.053377093115368264"}, {"id":"105217","name":"South at SF Jazz","lat":"37.7762","lng":"-122.421","address":"201 Franklin Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.12383643090158208"}, {"id":"148204","name":"Minas Brazilian Restaurant","lat":"37.7748","lng":"-122.421","address":"41 Franklin Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.12816720437976722"}, {"id":"52642","name":"Bistro 10UN","lat":"37.7741","lng":"-122.42","address":"1130 Market Street, 10 UN Plaza, 6th Floor","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.13640743760217255"}, {"id":"168313","name":"Dirty Water Restaurant & Bar","lat":"37.7768","lng":"-122.417","address":"1355 Market Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1377779481319483"}, {"id":"167635","name":"Bon Marché Brasserie & Bar","lat":"37.7768","lng":"-122.417","address":"1355 Market Street Suite 120","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1377779481319483"}, {"id":"48010","name":"Hayes Street Grill","lat":"37.7773","lng":"-122.422","address":"320 Hayes Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.18847948215343227"}, {"id":"168427","name":"Cadillac Bar & Grill","lat":"37.7769","lng":"-122.416","address":"44 9th St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.20349827602984427"}, {"id":"59368","name":"Otoro Sushi","lat":"37.775","lng":"-122.423","address":"205 Oak Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2082982536710511"}, {"id":"4485","name":"Zuni Cafe","lat":"37.7734","lng":"-122.422","address":"1658 Market Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.20976199717705687"}, {"id":"97309","name":"Rich Table","lat":"37.7749","lng":"-122.423","address":"199 Gough Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2101487141130611"}, {"id":"105223","name":"Caffe Delle Stelle","lat":"37.7768","lng":"-122.423","address":"395 Hayes Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.22033515017475883"}, {"id":"4058","name":"Sauce: Gough","lat":"37.7746","lng":"-122.423","address":"131 Gough St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.22047849745457226"}, {"id":"106078","name":"Cafe at the Opera","lat":"37.7786","lng":"-122.421","address":"301 Van Ness Avenue","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.22432329816323426"}, {"id":"27","name":"Jardiniere","lat":"37.7782","lng":"-122.422","address":"300 Grove St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.22901702840653873"}, {"id":"2542","name":"Absinthe Brasserie and Bar","lat":"37.7769","lng":"-122.423","address":"398 Hayes Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.23319477500155172"}, {"id":"3899","name":"Espetus Churrascaria - San Francisco","lat":"37.7732","lng":"-122.422","address":"1686 Market St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.23641027343161855"}, {"id":"73357","name":"Dobbs Ferry Restaurant","lat":"37.7771","lng":"-122.423","address":"409 Gough Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.23995027460397927"}, {"id":"147469","name":"Monsieur Benjamin","lat":"37.7774","lng":"-122.423","address":"451 Gough Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2516654200901735"}, {"id":"12862","name":"Market Street Grill","lat":"37.7782","lng":"-122.415","address":"1231 Market Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2584508157208441"}],"parking": [{"id":"3751","name":"Ace Parking","lat":"37.782","lng":"-122.421","address":"711 Van Ness Ave.","city":"San Francisco","milesFrom":"0.44892034346772575"}, {"id":"5420","name":"California Parking","lat":"37.7824","lng":"-122.418","address":"530 Turk St.","city":"San Francisco","milesFrom":"0.4660649654016518"}, {"id":"4977","name":"Priority Parking","lat":"37.7764","lng":"-122.409","address":"64 Rausch St","city":"San Francisco","milesFrom":"0.5484204465676183"}, {"id":"5015","name":"Turquoise Parking, LLC","lat":"37.7774","lng":"-122.409","address":"234 7th St.","city":"San Francisco","milesFrom":"0.558774510201283"}, {"id":"5318","name":"Tower Valet Parking, Inc","lat":"37.7821","lng":"-122.412","address":"99 Golden Gate Ave.","city":"San Francisco","milesFrom":"0.5844787950722835"}, {"id":"4855","name":"Priority Parking","lat":"37.7804","lng":"-122.41","address":"1036 Mission St.","city":"San Francisco","milesFrom":"0.5888868300304247"}, {"id":"5014","name":"Turquoise Parking, LLC","lat":"37.7823","lng":"-122.412","address":"64 Golden Gate Ave.","city":"San Francisco","milesFrom":"0.5949181820086951"}, {"id":"5016","name":"Turquoise Parking, LLC","lat":"37.783","lng":"-122.411","address":"90 Taylor St.","city":"San Francisco","milesFrom":"0.6672334583394754"}, {"id":"2538","name":"EZ Public Parking Garage","lat":"37.7843","lng":"-122.413","address":"333 Jones Street","city":"San Francisco","milesFrom":"0.6786379867699387"}, {"id":"5216","name":"Rock Star Parking","lat":"37.784","lng":"-122.412","address":"265 Eddy St","city":"San Francisco","milesFrom":"0.6891733057595341"}, {"id":"4911","name":"Priority Parking","lat":"37.7818","lng":"-122.409","address":"486 Jessie St.","city":"San Francisco","milesFrom":"0.6899505774233899"}, {"id":"4912","name":"Priority Parking","lat":"37.7837","lng":"-122.408","address":"55 5th St","city":"San Francisco","milesFrom":"0.816404248555596"}, {"id":"2269","name":"Ace Parking - Post St. Towers","lat":"37.787","lng":"-122.414","address":"644 Geary St.","city":"San Francisco","milesFrom":"0.8270659579420763"}, {"id":"3752","name":"415 Taylor Garage","lat":"37.7864","lng":"-122.412","address":"415 Taylor St.","city":"San Francisco","milesFrom":"0.8322453821334729"}, {"id":"4802","name":"PARC 55 Wyndham Hotel","lat":"37.7849","lng":"-122.409","address":"55 Cyril Magnin St","city":"San Francisco","milesFrom":"0.8382018490282571"}, {"id":"3842","name":"California Parking","lat":"37.7864","lng":"-122.411","address":"400 Taylor St.","city":"San Francisco","milesFrom":"0.8586733852255629"}, {"id":"4018","name":"California Parking","lat":"37.7757","lng":"-122.403","address":"801 Bryant St.","city":"San Francisco","milesFrom":"0.8737888229695504"}, {"id":"4003","name":"Ace Parking","lat":"37.7818","lng":"-122.404","address":"322 Tehama St.","city":"San Francisco","milesFrom":"0.9212378251363598"}, {"id":"5319","name":"American West Parking","lat":"37.7886","lng":"-122.414","address":"840 Sutter St.","city":"San Francisco","milesFrom":"0.932286770843242"}, {"id":"4732","name":"Post & Taylor Garage","lat":"37.7878","lng":"-122.411","address":"569 Post St.","city":"San Francisco","milesFrom":"0.9432496842828384"}],"hotels": [{"id":"363319","name":"Golden Gate Hall","lat":"37.7763","lng":"-122.418","address":"1412 Market Street ","city":"San Francisco","url":"http://www.booking.com/hotel/us/golden-gate-hall.html?aid=802549","class":"3","milesFrom":"0.0684991865685315"}, {"id":"59843","name":"Hotel Whitcomb","lat":"37.7784","lng":"-122.415","address":"1231 Market Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/whitcomb.html?aid=802549","class":"3","milesFrom":"0.2872257752923281"}, {"id":"181943","name":"Holiday Inn Civic Center","lat":"37.7779","lng":"-122.414","address":"50 Eighth Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/holiday-inn-san-francisco.html?aid=802549","class":"3","milesFrom":"0.3124405131001789"}, {"id":"1082774","name":"The SOMA Place","lat":"37.778","lng":"-122.413","address":"1190 Mission Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-soma-place.html?aid=802549","class":"4","milesFrom":"0.3640400913726037"}, {"id":"910552","name":"The SOMA Suites","lat":"37.7781","lng":"-122.413","address":"1188 Mission Street ","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-soma-suites.html?aid=802549","class":"4","milesFrom":"0.36708385454768055"}, {"id":"1170753","name":"Civic Center Suites","lat":"37.7816","lng":"-122.415","address":"277 Golden Gate Avenue","city":"San Francisco","url":"http://www.booking.com/hotel/us/civic-center-suites.html?aid=802549","class":"4","milesFrom":"0.4625415752933368"}, {"id":"56291","name":"Embassy Hotel","lat":"37.7825","lng":"-122.419","address":"610 Polk Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/embassy.html?aid=802549","class":"3","milesFrom":"0.4699744957319266"}, {"id":"55855","name":"Civic Center Motor Inn","lat":"37.7728","lng":"-122.411","address":"364 Ninth Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/best-western-civic-center-motor-inn.html?aid=802549","class":"3","milesFrom":"0.48045037542267954"}, {"id":"47465","name":"Best Western Plus Americania","lat":"37.7787","lng":"-122.41","address":"121 7th Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/best-western-americania.html?aid=802549","class":"3","milesFrom":"0.5332640877531966"}, {"id":"180767","name":"Carriage Inn","lat":"37.7787","lng":"-122.41","address":"140 7th Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/best-western-carriage-inn.html?aid=802549","class":"3","milesFrom":"0.5332640877531966"}, {"id":"536374","name":"HI - San Francisco City Center Hostel","lat":"37.7841","lng":"-122.418","address":"685 Ellis Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/hi-san-francisco-city-center.html?aid=802549","class":"3","milesFrom":"0.5829780221519966"}, {"id":"57641","name":"Cova Hotel","lat":"37.7842","lng":"-122.417","address":"655 Ellis Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/ellis-street-san-francisco.html?aid=802549","class":"3","milesFrom":"0.5973304008410817"}, {"id":"56309","name":"The Opal","lat":"37.7855","lng":"-122.421","address":"1050 Van Ness Avenue","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-opal.html?aid=802549","class":"3","milesFrom":"0.6858961601677296"}, {"id":"1169892","name":"SOMA Loft","lat":"37.7824","lng":"-122.409","address":"973 Market Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/soma-loft.html?aid=802549","class":"4","milesFrom":"0.7159788801385606"}, {"id":"184986","name":"Super 8 Union Square","lat":"37.7859","lng":"-122.412","address":"415 O'Farrell Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/super-8-union-square.html?aid=802549","class":"3","milesFrom":"0.8017267367414483"}, {"id":"55941","name":"Hotel Mark Twain","lat":"37.7856","lng":"-122.411","address":"345 Taylor Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/mark-twain.html?aid=802549","class":"3","milesFrom":"0.8115012344848126"}, {"id":"56077","name":"The Pickwick Hotel San Francisco","lat":"37.783","lng":"-122.407","address":"85 Fifth Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-pickwick-san-francisco.html?aid=802549","class":"3","milesFrom":"0.8270981504413082"}, {"id":"1100780","name":"Payne Mansion Hotel","lat":"37.787","lng":"-122.424","address":"1409 Sutter St San Francisco","city":"San Francisco","url":"http://www.booking.com/hotel/us/payne-mansion.html?aid=802549","class":"4","milesFrom":"0.8272035350433617"}, {"id":"56959","name":"Parc 55 Wyndham San Francisco - Union Square","lat":"37.7847","lng":"-122.409","address":"55 Cyril Magnin Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/parc-55.html?aid=802549","class":"4","milesFrom":"0.8276562073594487"}, {"id":"46083","name":"Bay Bridge Inn San Francisco","lat":"37.778","lng":"-122.404","address":"966 Harrison Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/bay-bridge-inn-san-fransisco.html?aid=802549","class":"3","milesFrom":"0.8344672096125719"}],"notveryclose" : 25,"quiteclose" : 8,"veryclose" : 2}