var map_data = {"restaurants": [{"id":"114487","name":"Maruya","lat":"37.7649","lng":"-122.418","address":"2931 16th Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.019664264099257322"}, {"id":"140548","name":"Truck","lat":"37.7668","lng":"-122.416","address":"1900 Folsom Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.18313242597264356"}, {"id":"102160","name":"Southpaw BBQ","lat":"37.7623","lng":"-122.42","address":"2170 Mission Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1951796623672396"}, {"id":"77356","name":"Thai House 530","lat":"37.7644","lng":"-122.422","address":"530 Valencia Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.21274360348886862"}, {"id":"19651","name":"Bar Tartine","lat":"37.7639","lng":"-122.422","address":"561 Valencia Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.21704526115516334"}, {"id":"47881","name":"Limon Rotisserie - Valencia","lat":"37.7644","lng":"-122.422","address":"524 Valencia Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.22744070174931866"}, {"id":"173158","name":"Gracias Madre - SF","lat":"37.7615","lng":"-122.419","address":"2211 Mission Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.23370591430555243"}, {"id":"47224","name":"Commonwealth - San Francisco","lat":"37.7613","lng":"-122.42","address":"2224 Mission Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2585814757249016"}, {"id":"31891","name":"Regalito Rosticeria","lat":"37.7615","lng":"-122.421","address":"3481 18th Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2826586982563657"}, {"id":"159802","name":"Hawker Fare- SF","lat":"37.762","lng":"-122.422","address":"680 Valencia St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.28900265605599007"}, {"id":"103363","name":"Mission Street Oyster Bar & Seafood Restaurant","lat":"37.7606","lng":"-122.419","address":"2282 Mission Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2995115005600707"}, {"id":"28858","name":"Nihon Whisky Lounge","lat":"37.7687","lng":"-122.415","address":"1779 Folsom Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3071985593753362"}, {"id":"54022","name":"Bissap and Little Baobab","lat":"37.7603","lng":"-122.419","address":"3372 19th Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3139974093777404"}, {"id":"60475","name":"Hog and Rocks","lat":"37.7602","lng":"-122.419","address":"3431 19th Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.32764796409662106"}, {"id":"7656","name":"Farina","lat":"37.7618","lng":"-122.423","address":"3560 18th St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3380990406075317"}, {"id":"107224","name":"The Vestry","lat":"37.7606","lng":"-122.421","address":"777 Valencia Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3405157410850414"}, {"id":"157024","name":"Nostra Spaghetteria","lat":"37.7685","lng":"-122.422","address":"280 Valencia Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.353851717041672"}, {"id":"167902","name":"Cease & Desist","lat":"37.7597","lng":"-122.419","address":"2331 Mission Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3553830284239798"}, {"id":"76207","name":"Krua Thai - San Francisco","lat":"37.7649","lng":"-122.425","address":"3214 16th Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.35595301619202435"}, {"id":"54859","name":"Arabian Nights","lat":"37.7595","lng":"-122.419","address":"2345 Mission St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3678439946778114"}],"parking": [{"id":"5335","name":"Tower Valet Parking, Inc","lat":"37.7654","lng":"-122.403","address":"350 Rhode Island St","city":"San Francisco","milesFrom":"0.8203649400956688"}, {"id":"3447","name":"Parking Concepts","lat":"37.7704","lng":"-122.403","address":"675 Townsend St.","city":"San Francisco","milesFrom":"0.9060722669733232"}, {"id":"4977","name":"Priority Parking","lat":"37.7764","lng":"-122.409","address":"64 Rausch St","city":"San Francisco","milesFrom":"0.9403718542071252"}, {"id":"5015","name":"Turquoise Parking, LLC","lat":"37.7774","lng":"-122.409","address":"234 7th St.","city":"San Francisco","milesFrom":"0.9998884482473761"}, {"id":"4018","name":"California Parking","lat":"37.7757","lng":"-122.403","address":"801 Bryant St.","city":"San Francisco","milesFrom":"1.1127899036416986"}],"hotels": [{"id":"1150097","name":"Inn San Francisco","lat":"37.7581","lng":"-122.417","address":"943 South Van Ness Avenue","city":"San Francisco","url":"http://www.booking.com/hotel/us/inn-san-francisco.html?aid=802549","class":"3","milesFrom":"0.46632825983468024"}, {"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.6719747632870007"}, {"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.7944493158362461"}, {"id":"733846","name":"Andrew Whelan House","lat":"37.7639","lng":"-122.435","address":"300 Castro Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/andrew-whelan-house.html?aid=802549","class":"3","milesFrom":"0.9305985127363571"}, {"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.9311207935557285"}, {"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.951976316001737"}, {"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.9538490861531529"}, {"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.9585437988602757"}, {"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":"1.0551265825266198"}, {"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":"1.0551265825266198"}, {"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":"1.1901544980961574"}],"notveryclose" : 20,"quiteclose" : 3,"veryclose" : 1}