var map_data = {"restaurants": [{"id":"191737","name":"Chinatown Restaurant","lat":"37.7954","lng":"-122.406","address":"744 Washington Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.05774115000231135"}, {"id":"112069","name":"Z & Y Restaurant","lat":"37.796","lng":"-122.406","address":"655 Jackson Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.08374706819459128"}, {"id":"185413","name":"Begoni Bistro","lat":"37.796","lng":"-122.406","address":"615 Jackson Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1005060299200034"}, {"id":"45031","name":"Tandoori Mahal - Financial District","lat":"37.7965","lng":"-122.405","address":"941 Kearny Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.13636850755511357"}, {"id":"11","name":"Alfred's Steakhouse","lat":"37.7948","lng":"-122.404","address":"659 Merchant St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1401590036605373"}, {"id":"67774","name":"750 Restaurant & Bar","lat":"37.7952","lng":"-122.404","address":"Hilton San Francisco 750 Kearny Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.14133812825474718"}, {"id":"37849","name":"Jai Yun","lat":"37.7945","lng":"-122.405","address":"680 Clay Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.14229169881795414"}, {"id":"109762","name":"Cafe Zoetrope","lat":"37.7967","lng":"-122.405","address":"916 Kearny Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.14405155696532823"}, {"id":"56806","name":"Comstock Saloon","lat":"37.7967","lng":"-122.405","address":"155 Columbus Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.15393684219756246"}, {"id":"166909","name":"Trestle","lat":"37.7962","lng":"-122.405","address":"531 Jackson Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1539980282799399"}, {"id":"3475","name":"Brandy Ho's Hunan Food","lat":"37.7972","lng":"-122.406","address":"217 Columbus Ave.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.15505944264291305"}, {"id":"100219","name":"Caffe Macaroni","lat":"37.7961","lng":"-122.404","address":"59 Columbus Avenue","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.15849507814340186"}, {"id":"150322","name":"Doc Ricketts","lat":"37.7968","lng":"-122.405","address":"124 Columbus Ave","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.16704939252538126"}, {"id":"90763","name":"Bask","lat":"37.7963","lng":"-122.404","address":"42 Columbus Avenue","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.18299378488130189"}, {"id":"4057","name":"Mangia Tutti","lat":"37.7944","lng":"-122.404","address":"635 Clay St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1832929420347824"}, {"id":"148891","name":"Tosca Cafe","lat":"37.7976","lng":"-122.406","address":"242 Columbus Ave","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.184927055467575"}, {"id":"48718","name":"Urban Curry","lat":"37.7977","lng":"-122.406","address":"523 Broadway","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.19292266070667552"}, {"id":"257","name":"Palio d'Asti","lat":"37.7939","lng":"-122.404","address":"640 Sacramento Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.19829463679079048"}, {"id":"5828","name":"Mona Lisa","lat":"37.798","lng":"-122.408","address":"353 Columbus Ave","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.20762535092454878"}, {"id":"108919","name":"Roka Akor - San Francisco","lat":"37.7965","lng":"-122.404","address":"801 Montgomery Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.20774696258032097"}],"parking": [{"id":"4610","name":"California Parking","lat":"37.7962","lng":"-122.405","address":"555 Jackson St.","city":"San Francisco","milesFrom":"0.13294642323754854"}, {"id":"5721","name":"Ace Parking","lat":"37.7934","lng":"-122.405","address":"711 Sacramento St","city":"San Francisco","milesFrom":"0.1604140870099551"}, {"id":"2295","name":"Ace Parking","lat":"37.7953","lng":"-122.404","address":"643 Washington St.","city":"San Francisco","milesFrom":"0.16428683820681478"}, {"id":"2303","name":"Ace Parking","lat":"37.7937","lng":"-122.404","address":"637 Sacramento St","city":"San Francisco","milesFrom":"0.19015985132480526"}, {"id":"3726","name":"Ace Parking","lat":"37.7968","lng":"-122.404","address":"528 Jackson St.","city":"San Francisco","milesFrom":"0.2013953564066022"}, {"id":"3956","name":"Douglas Parking","lat":"37.7933","lng":"-122.404","address":"665 Sacramento St.","city":"San Francisco","milesFrom":"0.20562480116558007"}, {"id":"2282","name":"Ace Parking","lat":"37.7931","lng":"-122.404","address":"41 Spring St.","city":"San Francisco","milesFrom":"0.21436629224237172"}, {"id":"4849","name":"Priority Parking","lat":"37.793","lng":"-122.41","address":"1040 Sacramento St.","city":"San Francisco","milesFrom":"0.21916484590228943"}, {"id":"5819","name":"Bridge Parking","lat":"37.7982","lng":"-122.405","address":"470 Broadway St.","city":"San Francisco","milesFrom":"0.24025282099017817"}, {"id":"5076","name":"American West Parking","lat":"37.7976","lng":"-122.402","address":"350 Pacific Ave.","city":"San Francisco","milesFrom":"0.3228873017539955"}, {"id":"5440","name":"Le Méridien San Francisco","lat":"37.7947","lng":"-122.401","address":"333 Battery St.","city":"San Francisco","milesFrom":"0.32859709489003347"}, {"id":"4846","name":"Priority Parking","lat":"37.7978","lng":"-122.402","address":"825 Sansome St.","city":"San Francisco","milesFrom":"0.330418981870599"}, {"id":"4733","name":"Crocker Garage","lat":"37.7914","lng":"-122.411","address":"1045 California St.","city":"San Francisco","milesFrom":"0.3364591031910573"}, {"id":"5751","name":"Grace Cathedral","lat":"37.792","lng":"-122.413","address":"1051 Taylor St.","city":"San Francisco","milesFrom":"0.39167539478369334"}, {"id":"4804","name":"Propark","lat":"37.7938","lng":"-122.4","address":"275 Battery St.","city":"San Francisco","milesFrom":"0.392435376565667"}, {"id":"4350","name":"Propark","lat":"37.7909","lng":"-122.402","address":"225 Bush St.","city":"San Francisco","milesFrom":"0.398341919848667"}, {"id":"5097","name":"Propark","lat":"37.7983","lng":"-122.4","address":"750 Front St.","city":"San Fran","milesFrom":"0.44138934362084825"}, {"id":"4734","name":"Priority Parking","lat":"37.7988","lng":"-122.4","address":"90 Broadway St.","city":"San Francisco","milesFrom":"0.45966111313571045"}, {"id":"4272","name":"JW Marriott Hotel - Union Square","lat":"37.7882","lng":"-122.41","address":"500 Post St.","city":"San Francisco","milesFrom":"0.5042877677449262"}, {"id":"4960","name":"Priority Parking","lat":"37.7989","lng":"-122.399","address":"50 Broadway St.","city":"San Francisco","milesFrom":"0.5094191662196915"}],"hotels": [{"id":"59284","name":"Hilton San Francisco Financial District","lat":"37.7951","lng":"-122.405","address":"750 Kearny Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/hilton-san-francisco-financial-district.html?aid=802549","class":"4","milesFrom":"0.1091428610655908"}, {"id":"59818","name":"SW Hotel","lat":"37.7977","lng":"-122.407","address":"615 Broadway","city":"San Francisco","url":"http://www.booking.com/hotel/us/sw.html?aid=802549","class":"3","milesFrom":"0.17950231721449356"}, {"id":"275469","name":"University Club of San Francisco","lat":"37.7924","lng":"-122.409","address":"800 Powell Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/university-club-of-san-fransico.html?aid=802549","class":"4","milesFrom":"0.21619275295482893"}, {"id":"262880","name":"The Ritz-Carlton, San Francisco","lat":"37.7917","lng":"-122.407","address":"600 Stockton at California Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-ritz-carlton-san-francisco.html?aid=802549","class":"5","milesFrom":"0.2351190410504086"}, {"id":"180721","name":"Omni San Francisco","lat":"37.7931","lng":"-122.403","address":"500 California Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/omni-san-francisco.html?aid=802549","class":"5","milesFrom":"0.2584564945158165"}, {"id":"570485","name":"Stanford Court San Francisco","lat":"37.792","lng":"-122.41","address":"905 California Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/stanford-court-san-francisco.html?aid=802549","class":"4","milesFrom":"0.26993096746161777"}, {"id":"56187","name":"Hotel Boheme","lat":"37.7991","lng":"-122.408","address":"444 Columbus Avenue","city":"San Francisco","url":"http://www.booking.com/hotel/us/boheme.html?aid=802549","class":"3","milesFrom":"0.2815769820507963"}, {"id":"56512","name":"The Fairmont San Francisco","lat":"37.7923","lng":"-122.411","address":"950 Mason Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-fairmont-san-francisco-san-francisco-california.html?aid=802549","class":"5","milesFrom":"0.292000129107376"}, {"id":"1165258","name":"Worldmark Hotel, San Francisco","lat":"37.7905","lng":"-122.407","address":"590 Bush Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/worldmark-san-francisco.html?aid=802549","class":"3","milesFrom":"0.3178851608820547"}, {"id":"181932","name":"InterContinental Mark Hopkins San Francisco","lat":"37.7917","lng":"-122.411","address":"One Nob Hill","city":"San Francisco","url":"http://www.booking.com/hotel/us/inter-continental.html?aid=802549","class":"4","milesFrom":"0.3211134714182399"}, {"id":"56183","name":"Orchard Garden Hotel","lat":"37.7907","lng":"-122.405","address":"466 Bush Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/orchard-garden.html?aid=802549","class":"3","milesFrom":"0.323167970263588"}, {"id":"56066","name":"Club Quarters San Francisco","lat":"37.795","lng":"-122.401","address":"424 Clay Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/club-quarters-san-francisco.html?aid=802549","class":"3","milesFrom":"0.32750614623818425"}, {"id":"56442","name":"Le Meridien San Francisco","lat":"37.7949","lng":"-122.401","address":"333 Battery Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/le-meridian-san-francisco.html?aid=802549","class":"4","milesFrom":"0.3277269191301349"}, {"id":"59019","name":"Executive Hotel Vintage Court","lat":"37.7903","lng":"-122.408","address":"650 Bush Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/executive-vintage-court.html?aid=802549","class":"3","milesFrom":"0.3363125538788119"}, {"id":"180980","name":"Triton, a Kimpton Hotel","lat":"37.7903","lng":"-122.405","address":"342 Grant Avenue","city":"San Francisco","url":"http://www.booking.com/hotel/us/triton.html?aid=802549","class":"4","milesFrom":"0.3493434381219079"}, {"id":"56184","name":"Orchard Hotel","lat":"37.7901","lng":"-122.408","address":"665 Bush Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/orchard.html?aid=802549","class":"3","milesFrom":"0.3498444677157113"}, {"id":"58866","name":"Baldwin Hotel","lat":"37.79","lng":"-122.406","address":"321 Grant Avenue","city":"San Francisco","url":"http://www.booking.com/hotel/us/baldwinhotelsf.html?aid=802549","class":"3","milesFrom":"0.3566154250226408"}, {"id":"183508","name":"Mystic Hotel by Charlie Palmer","lat":"37.7899","lng":"-122.407","address":"417 Stockton Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/mystic.html?aid=802549","class":"3","milesFrom":"0.35926822079787774"}, {"id":"59006","name":"The Scarlet Huntington","lat":"37.7916","lng":"-122.412","address":"1075 California Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-huntington-and-nob-hill-spa.html?aid=802549","class":"4","milesFrom":"0.3650104901083532"}, {"id":"47917","name":"Cornell Hotel de France","lat":"37.79","lng":"-122.409","address":"715 Bush Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/cornell-de-france.html?aid=802549","class":"3","milesFrom":"0.36892994078294933"}],"notveryclose" : 56,"quiteclose" : 24,"veryclose" : 2}