var map_data = {"restaurants": [{"id":"17245","name":"Fish & Farm","lat":"37.7951","lng":"-122.401","address":"424 Clay St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.06172119176254622"}, {"id":"30271","name":"5A5 Steak Lounge","lat":"37.7968","lng":"-122.4","address":"244 Jackson Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.0743606522451539"}, {"id":"725","name":"Park Grill - Le Meridien San Francisco","lat":"37.7947","lng":"-122.401","address":"333 Battery St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.08430075453132348"}, {"id":"1935","name":"Kokkari Estiatorio","lat":"37.797","lng":"-122.4","address":"200 Jackson St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.0884607250236863"}, {"id":"4633","name":"L'Olivier","lat":"37.7966","lng":"-122.398","address":"465 Davis Ct","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.11045315318203733"}, {"id":"41593","name":"Royal Exchange","lat":"37.7943","lng":"-122.399","address":"301 Sacramento Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.11976599531695091"}, {"id":"166498","name":"The Barrel Room - San Francisco","lat":"37.7943","lng":"-122.402","address":"415 Sansome Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.14213865030897227"}, {"id":"139873","name":"Schroeder's","lat":"37.7938","lng":"-122.399","address":"240 Front Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.15173655922430399"}, {"id":"7288","name":"Perbacco","lat":"37.7936","lng":"-122.399","address":"230 California St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1577265437838039"}, {"id":"10774","name":"CHIAROSCURO","lat":"37.7956","lng":"-122.403","address":"550 Washington St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.159304839651311"}, {"id":"149539","name":"KUSAKABE","lat":"37.7956","lng":"-122.403","address":"584 Washington Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1622327167181224"}, {"id":"3638","name":"BIX","lat":"37.7969","lng":"-122.403","address":"56 Gold St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.17481205642281214"}, {"id":"51049","name":"MICHAEL MINA","lat":"37.7933","lng":"-122.4","address":"252 California Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.17606725745065455"}, {"id":"38935","name":"Barbacco","lat":"37.7933","lng":"-122.399","address":"220 California Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.17662995656454308"}, {"id":"45625","name":"Wayfare Tavern","lat":"37.7939","lng":"-122.402","address":"558 Sacramento Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.18352877739793633"}, {"id":"157507","name":"Crystal Jade Jiang Nan","lat":"37.7951","lng":"-122.396","address":"Four Embarcadero Center Suite One, Lobby Level","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.20067858550709708"}, {"id":"108919","name":"Roka Akor - San Francisco","lat":"37.7965","lng":"-122.404","address":"801 Montgomery Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.20478971992988548"}, {"id":"24451","name":"Quince Restaurant","lat":"37.7974","lng":"-122.403","address":"470 Pacific Avenue","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.21322783911583487"}, {"id":"4375","name":"Sens Restaurant","lat":"37.7953","lng":"-122.396","address":"4 Embarcadero Center","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.21485810960377802"}, {"id":"36577","name":"Stone Korean Kitchen","lat":"37.7951","lng":"-122.396","address":"4 Embarcadero Center Street Level","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2175710965391777"}],"parking": [{"id":"5440","name":"Le Méridien San Francisco","lat":"37.7947","lng":"-122.401","address":"333 Battery St.","city":"San Francisco","milesFrom":"0.09349221096727793"}, {"id":"4804","name":"Propark","lat":"37.7938","lng":"-122.4","address":"275 Battery St.","city":"San Francisco","milesFrom":"0.1381192572986705"}, {"id":"5076","name":"American West Parking","lat":"37.7976","lng":"-122.402","address":"350 Pacific Ave.","city":"San Francisco","milesFrom":"0.165499803771087"}, {"id":"5097","name":"Propark","lat":"37.7983","lng":"-122.4","address":"750 Front St.","city":"San Fran","milesFrom":"0.1729126579922287"}, {"id":"4846","name":"Priority Parking","lat":"37.7978","lng":"-122.402","address":"825 Sansome St.","city":"San Francisco","milesFrom":"0.17603563822945129"}, {"id":"4734","name":"Priority Parking","lat":"37.7988","lng":"-122.4","address":"90 Broadway St.","city":"San Francisco","milesFrom":"0.2074424723168964"}, {"id":"2295","name":"Ace Parking","lat":"37.7953","lng":"-122.404","address":"643 Washington St.","city":"San Francisco","milesFrom":"0.22099861171081334"}, {"id":"4960","name":"Priority Parking","lat":"37.7989","lng":"-122.399","address":"50 Broadway St.","city":"San Francisco","milesFrom":"0.22113460707137664"}, {"id":"3726","name":"Ace Parking","lat":"37.7968","lng":"-122.404","address":"528 Jackson St.","city":"San Francisco","milesFrom":"0.22894615893210285"}, {"id":"2303","name":"Ace Parking","lat":"37.7937","lng":"-122.404","address":"637 Sacramento St","city":"San Francisco","milesFrom":"0.2620422404126989"}, {"id":"4610","name":"California Parking","lat":"37.7962","lng":"-122.405","address":"555 Jackson St.","city":"San Francisco","milesFrom":"0.27425391071595334"}, {"id":"5517","name":"388 Market St. Building Garage","lat":"37.7921","lng":"-122.398","address":"36 Front St.","city":"San Francisco","milesFrom":"0.2780003112367406"}, {"id":"3956","name":"Douglas Parking","lat":"37.7933","lng":"-122.404","address":"665 Sacramento St.","city":"San Francisco","milesFrom":"0.2783111018740661"}, {"id":"2282","name":"Ace Parking","lat":"37.7931","lng":"-122.404","address":"41 Spring St.","city":"San Francisco","milesFrom":"0.2871867070842976"}, {"id":"2291","name":"Ace Parking","lat":"37.7915","lng":"-122.398","address":"333 Market St","city":"San Francisco","milesFrom":"0.31647806815378127"}, {"id":"5819","name":"Bridge Parking","lat":"37.7982","lng":"-122.405","address":"470 Broadway St.","city":"San Francisco","milesFrom":"0.3192733257945608"}, {"id":"5721","name":"Ace Parking","lat":"37.7934","lng":"-122.405","address":"711 Sacramento St","city":"San Francisco","milesFrom":"0.3192808993420535"}, {"id":"4350","name":"Propark","lat":"37.7909","lng":"-122.402","address":"225 Bush St.","city":"San Francisco","milesFrom":"0.3556088827519635"}, {"id":"4847","name":"Priority Parking","lat":"37.8011","lng":"-122.4","address":"1050 Front St.","city":"San Francisco","milesFrom":"0.3663850527579237"}, {"id":"5236","name":"Pier 19 1/2","lat":"37.8023","lng":"-122.4","address":"1098 Embarcadero","city":"San Francisco","milesFrom":"0.4491511725895698"}],"hotels": [{"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.07773021850938755"}, {"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.08275055971574245"}, {"id":"188214","name":"Mandarin Oriental San Francisco","lat":"37.7925","lng":"-122.401","address":"222 Sansome Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/mandarin-oriental-san-francisco.html?aid=802549","class":"5","milesFrom":"0.23444215727880677"}, {"id":"182230","name":"Hyatt Regency San Francisco","lat":"37.7941","lng":"-122.396","address":"5 Embarcadero Center","city":"San Francisco","url":"http://www.booking.com/hotel/us/hyatt-regency-san-francisco.html?aid=802549","class":"4","milesFrom":"0.24780473564245267"}, {"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.24825299474934467"}, {"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.2770867434740329"}, {"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.4039161622563052"}, {"id":"27744","name":"Hotel Vitale, a Joie de Vivre Hotel","lat":"37.7936","lng":"-122.393","address":"8 Mission Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/vitale.html?aid=802549","class":"4","milesFrom":"0.41155219221372186"}, {"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.4457028978045165"}, {"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.4678939449864025"}, {"id":"56192","name":"Galleria Park, a Joie de Vivre Hotel","lat":"37.7898","lng":"-122.404","address":"191 Sutter Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/galleria-park.html?aid=802549","class":"3","milesFrom":"0.46857496377686236"}, {"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.47562548795504633"}, {"id":"56920","name":"Hotel Griffon","lat":"37.7928","lng":"-122.392","address":"155 Steuart Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/griffon-san-francisco.html?aid=802549","class":"3","milesFrom":"0.48361737093397206"}, {"id":"180764","name":"Harbor Court, a Kimpton Hotel","lat":"37.7926","lng":"-122.392","address":"165 Steuart Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/harbor-court.html?aid=802549","class":"4","milesFrom":"0.4897653083962538"}, {"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.49251143970012"}, {"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.5174333906233739"}, {"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.5291281945668914"}, {"id":"58952","name":"Palace Hotel","lat":"37.7883","lng":"-122.402","address":"2 New Montgomery Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/palace-sf.html?aid=802549","class":"4","milesFrom":"0.5295805724476351"}, {"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.5444124785057295"}, {"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.558563192450268"}],"notveryclose" : 45,"quiteclose" : 22,"veryclose" : 7}