var map_data = {"restaurants": [{"id":"168313","name":"Dirty Water Restaurant & Bar","lat":"37.7768","lng":"-122.417","address":"1355 Market Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.12767586675195794"}, {"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.12767586675195794"}, {"id":"12862","name":"Market Street Grill","lat":"37.7782","lng":"-122.415","address":"1231 Market Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.13818273162861008"}, {"id":"115105","name":"Alta CA","lat":"37.7761","lng":"-122.418","address":"1420 Market Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.15641874916496462"}, {"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.1576144573840447"}, {"id":"168427","name":"Cadillac Bar & Grill","lat":"37.7769","lng":"-122.416","address":"44 9th St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.16818758162930333"}, {"id":"5166","name":"272 Soluna Cafe & Lounge","lat":"37.7806","lng":"-122.416","address":"272 McAllister Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.17143565669533747"}, {"id":"78742","name":"O3 Bistro & Lounge","lat":"37.7806","lng":"-122.42","address":"524 Van Ness Avenue","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.187145171512106"}, {"id":"27","name":"Jardiniere","lat":"37.7782","lng":"-122.422","address":"300 Grove St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.20679843557116687"}, {"id":"89713","name":"Mela Tandoori Kitchen","lat":"37.7813","lng":"-122.419","address":"536 Golden Gate Ave","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2132629860073293"}, {"id":"48010","name":"Hayes Street Grill","lat":"37.7773","lng":"-122.422","address":"320 Hayes Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.22113492564292328"}, {"id":"105217","name":"South at SF Jazz","lat":"37.7762","lng":"-122.421","address":"201 Franklin Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.23279564843627298"}, {"id":"89905","name":"PLAJ","lat":"37.7788","lng":"-122.422","address":"333 Fulton Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.23517422033996896"}, {"id":"106645","name":"Golden Kim Tar Chinese Restaurant","lat":"37.7819","lng":"-122.417","address":"434 Larkin Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2427483742907216"}, {"id":"64774","name":"Boxing Room","lat":"37.7778","lng":"-122.423","address":"399 Grove Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2800675594360441"}, {"id":"105223","name":"Caffe Delle Stelle","lat":"37.7768","lng":"-122.423","address":"395 Hayes Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.28274505937229716"}, {"id":"147469","name":"Monsieur Benjamin","lat":"37.7774","lng":"-122.423","address":"451 Gough Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.28735738879310474"}, {"id":"73357","name":"Dobbs Ferry Restaurant","lat":"37.7771","lng":"-122.423","address":"409 Gough Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2906294730260217"}, {"id":"2542","name":"Absinthe Brasserie and Bar","lat":"37.7769","lng":"-122.423","address":"398 Hayes Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2907669893270848"}, {"id":"148204","name":"Minas Brazilian Restaurant","lat":"37.7748","lng":"-122.421","address":"41 Franklin Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2986430205743606"}],"parking": [{"id":"5420","name":"California Parking","lat":"37.7824","lng":"-122.418","address":"530 Turk St.","city":"San Francisco","milesFrom":"0.276238514597341"}, {"id":"3751","name":"Ace Parking","lat":"37.782","lng":"-122.421","address":"711 Van Ness Ave.","city":"San Francisco","milesFrom":"0.2978713234440505"}, {"id":"5318","name":"Tower Valet Parking, Inc","lat":"37.7821","lng":"-122.412","address":"99 Golden Gate Ave.","city":"San Francisco","milesFrom":"0.4154807009282983"}, {"id":"5014","name":"Turquoise Parking, LLC","lat":"37.7823","lng":"-122.412","address":"64 Golden Gate Ave.","city":"San Francisco","milesFrom":"0.4240527216511852"}, {"id":"4855","name":"Priority Parking","lat":"37.7804","lng":"-122.41","address":"1036 Mission St.","city":"San Francisco","milesFrom":"0.45798751416298644"}, {"id":"2538","name":"EZ Public Parking Garage","lat":"37.7843","lng":"-122.413","address":"333 Jones Street","city":"San Francisco","milesFrom":"0.4906664558533717"}, {"id":"5015","name":"Turquoise Parking, LLC","lat":"37.7774","lng":"-122.409","address":"234 7th St.","city":"San Francisco","milesFrom":"0.49650018188102063"}, {"id":"5016","name":"Turquoise Parking, LLC","lat":"37.783","lng":"-122.411","address":"90 Taylor St.","city":"San Francisco","milesFrom":"0.4970230070464523"}, {"id":"5216","name":"Rock Star Parking","lat":"37.784","lng":"-122.412","address":"265 Eddy St","city":"San Francisco","milesFrom":"0.5069280905400758"}, {"id":"4977","name":"Priority Parking","lat":"37.7764","lng":"-122.409","address":"64 Rausch St","city":"San Francisco","milesFrom":"0.5107087191667162"}, {"id":"4911","name":"Priority Parking","lat":"37.7818","lng":"-122.409","address":"486 Jessie St.","city":"San Francisco","milesFrom":"0.5448723697397958"}, {"id":"2269","name":"Ace Parking - Post St. Towers","lat":"37.787","lng":"-122.414","address":"644 Geary St.","city":"San Francisco","milesFrom":"0.6329672931400887"}, {"id":"3752","name":"415 Taylor Garage","lat":"37.7864","lng":"-122.412","address":"415 Taylor St.","city":"San Francisco","milesFrom":"0.6424706414368969"}, {"id":"4912","name":"Priority Parking","lat":"37.7837","lng":"-122.408","address":"55 5th St","city":"San Francisco","milesFrom":"0.6575844549511743"}, {"id":"4802","name":"PARC 55 Wyndham Hotel","lat":"37.7849","lng":"-122.409","address":"55 Cyril Magnin St","city":"San Francisco","milesFrom":"0.6659245061320859"}, {"id":"3842","name":"California Parking","lat":"37.7864","lng":"-122.411","address":"400 Taylor St.","city":"San Francisco","milesFrom":"0.6719347952087803"}, {"id":"5319","name":"American West Parking","lat":"37.7886","lng":"-122.414","address":"840 Sutter St.","city":"San Francisco","milesFrom":"0.7378677917414537"}, {"id":"4732","name":"Post & Taylor Garage","lat":"37.7878","lng":"-122.411","address":"569 Post St.","city":"San Francisco","milesFrom":"0.7535194398737689"}, {"id":"4003","name":"Ace Parking","lat":"37.7818","lng":"-122.404","address":"322 Tehama St.","city":"San Francisco","milesFrom":"0.7998294272946582"}, {"id":"4272","name":"JW Marriott Hotel - Union Square","lat":"37.7882","lng":"-122.41","address":"500 Post St.","city":"San Francisco","milesFrom":"0.8057246501947778"}],"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.14523608925871653"}, {"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.16375129347644582"}, {"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.22104937879633918"}, {"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.2737126195112966"}, {"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.27431930242946145"}, {"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.2751730168370165"}, {"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.2885645066274603"}, {"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.39379803512254535"}, {"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.4043520772510136"}, {"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.4371654417830184"}, {"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.4371654417830184"}, {"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.5171418994022445"}, {"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.5438081545595245"}, {"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.5639455408306107"}, {"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.6130167181194414"}, {"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.6271922086013622"}, {"id":"55850","name":"The Hotel California","lat":"37.7869","lng":"-122.413","address":"580 Geary Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/hotel-california-san-francisco.html?aid=802549","class":"3","milesFrom":"0.647582177927817"}, {"id":"56200","name":"Hotel Adagio, a Marriott Autograph Collection","lat":"37.7869","lng":"-122.413","address":"550 Geary Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/adagio.html?aid=802549","class":"4","milesFrom":"0.647582177927817"}, {"id":"29853","name":"Hilton San Francisco Union Square","lat":"37.786","lng":"-122.411","address":"333 O'Farrell Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/hilton-san-francisco.html?aid=802549","class":"4","milesFrom":"0.6493590881144095"}, {"id":"23176","name":"Hotel Carlton, a Joie de Vivre Hotel","lat":"37.7879","lng":"-122.418","address":"1075 Sutter Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/carlton-san-francisco.html?aid=802549","class":"3","milesFrom":"0.6563300585375756"}],"notveryclose" : 30,"quiteclose" : 10,"veryclose" : 0}