var map_data = {"restaurants": [{"id":"24886","name":"Amber India","lat":"37.7855","lng":"-122.404","address":"25 Yerba Buena Lane","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.029811473074393663"}, {"id":"2391","name":"The Keystone","lat":"37.785","lng":"-122.405","address":"68 Fourth Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.046968359800530914"}, {"id":"113359","name":"Press Club","lat":"37.7861","lng":"-122.404","address":"20 Yerba Buena Lane","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.07087984077299672"}, {"id":"58276","name":"Bluestem Brasserie","lat":"37.786","lng":"-122.405","address":"ONE Yerba Buena Lane","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.08263648099546"}, {"id":"2989","name":"MKT Restaurant and Bar","lat":"37.7863","lng":"-122.405","address":"757 Market St. Four Seasons Hotel","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.09649276651902368"}, {"id":"241","name":"Dirty Habit","lat":"37.7856","lng":"-122.406","address":"12 Fourth St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.09851576791772142"}, {"id":"88192","name":"Sanraku Metreon","lat":"37.7838","lng":"-122.403","address":"101 4th Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.10714583082514363"}, {"id":"93145","name":"M.Y. China - SF","lat":"37.7842","lng":"-122.406","address":"845 Market Street, 4th Floor","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1334421264125094"}, {"id":"62701","name":"Cupola Pizzeria","lat":"37.7842","lng":"-122.406","address":"845 Market Street, Suite 400, Westfield San Francisco Centre","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1334421264125094"}, {"id":"16615","name":"Vitrine - St Regis Hotel San Francisco","lat":"37.7859","lng":"-122.402","address":"125 Third Street 4th Floor","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.14420369191082558"}, {"id":"5546","name":"Ame","lat":"37.7864","lng":"-122.402","address":"689 Mission Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1513431938268691"}, {"id":"7405","name":"Lark Creek Steak","lat":"37.7849","lng":"-122.407","address":"845 Market Street - 4th Floor","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.16011366939211172"}, {"id":"2025","name":"Trace","lat":"37.7854","lng":"-122.401","address":"181 Third Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.17134234394512957"}, {"id":"4546","name":"John's Grill","lat":"37.7856","lng":"-122.407","address":"63 Ellis Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.18081242379405227"}, {"id":"95704","name":"Hakkasan - San Francisco","lat":"37.7878","lng":"-122.404","address":"One Kearny Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.18974562139703613"}, {"id":"167737","name":"Tap (415)","lat":"37.784","lng":"-122.407","address":"865 Market Street 4th Floor","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.18985927700621547"}, {"id":"27265","name":"Café Bistro - Nordstrom San Francisco Centre","lat":"37.7841","lng":"-122.407","address":"865 Market Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.195284620686832"}, {"id":"889","name":"The Rotunda at Neiman Marcus - San Francisco","lat":"37.7872","lng":"-122.407","address":"150 Stockton Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1980843723448229"}, {"id":"109843","name":"The Cavalier","lat":"37.7833","lng":"-122.407","address":"360 Jessie Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.19972545659797658"}, {"id":"2657","name":"Garden Court","lat":"37.7879","lng":"-122.402","address":"2 New Montgomery St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.22651594955566565"}],"parking": [{"id":"4343","name":"Westin Hotel - 50 3rd St.","lat":"37.7867","lng":"-122.403","address":"50 3rd. St.","city":"San Francisco","milesFrom":"0.12342877338468075"}, {"id":"4003","name":"Ace Parking","lat":"37.7818","lng":"-122.404","address":"322 Tehama St.","city":"San Francisco","milesFrom":"0.2280022090903626"}, {"id":"4912","name":"Priority Parking","lat":"37.7837","lng":"-122.408","address":"55 5th St","city":"San Francisco","milesFrom":"0.23878934779303815"}, {"id":"4802","name":"PARC 55 Wyndham Hotel","lat":"37.7849","lng":"-122.409","address":"55 Cyril Magnin St","city":"San Francisco","milesFrom":"0.2732384525859809"}, {"id":"4000","name":"Ace Parking","lat":"37.7855","lng":"-122.399","address":"55 Hawthorne St.","city":"San Francisco","milesFrom":"0.2742932245443438"}, {"id":"4853","name":"Priority Parking","lat":"37.7867","lng":"-122.398","address":"201 2nd St.","city":"San Francisco","milesFrom":"0.3456762353635201"}, {"id":"4852","name":"85 Second St Garage","lat":"37.7884","lng":"-122.399","address":"588 Mission St.","city":"San Francisco","milesFrom":"0.3556021181894556"}, {"id":"4911","name":"Priority Parking","lat":"37.7818","lng":"-122.409","address":"486 Jessie St.","city":"San Francisco","milesFrom":"0.35561146838829805"}, {"id":"5077","name":"Marriott Courtyard Downtown","lat":"37.7859","lng":"-122.397","address":"299 2nd St","city":"San Francisco","milesFrom":"0.3860387398080597"}, {"id":"4272","name":"JW Marriott Hotel - Union Square","lat":"37.7882","lng":"-122.41","address":"500 Post St.","city":"San Francisco","milesFrom":"0.3917010254101057"}, {"id":"3842","name":"California Parking","lat":"37.7864","lng":"-122.411","address":"400 Taylor St.","city":"San Francisco","milesFrom":"0.3928847349064715"}, {"id":"4845","name":"Priority Parking","lat":"37.7809","lng":"-122.399","address":"777 Harrison St.","city":"San Francisco","milesFrom":"0.39836722150678416"}, {"id":"5016","name":"Turquoise Parking, LLC","lat":"37.783","lng":"-122.411","address":"90 Taylor St.","city":"San Francisco","milesFrom":"0.40902716777448167"}, {"id":"4350","name":"Propark","lat":"37.7909","lng":"-122.402","address":"225 Bush St.","city":"San Francisco","milesFrom":"0.4155083448285201"}, {"id":"4732","name":"Post & Taylor Garage","lat":"37.7878","lng":"-122.411","address":"569 Post St.","city":"San Francisco","milesFrom":"0.4255624579423399"}, {"id":"4735","name":"Priority Parking","lat":"37.7844","lng":"-122.396","address":"350 2nd St.","city":"San Francisco","milesFrom":"0.43928894068681507"}, {"id":"5216","name":"Rock Star Parking","lat":"37.784","lng":"-122.412","address":"265 Eddy St","city":"San Francisco","milesFrom":"0.4435942263242679"}, {"id":"3752","name":"415 Taylor Garage","lat":"37.7864","lng":"-122.412","address":"415 Taylor St.","city":"San Francisco","milesFrom":"0.4461903368609683"}, {"id":"4855","name":"Priority Parking","lat":"37.7804","lng":"-122.41","address":"1036 Mission St.","city":"San Francisco","milesFrom":"0.46149043273384305"}, {"id":"5014","name":"Turquoise Parking, LLC","lat":"37.7823","lng":"-122.412","address":"64 Golden Gate Ave.","city":"San Francisco","milesFrom":"0.47796342723974833"}],"hotels": [{"id":"262877","name":"San Francisco Marriott Marquis","lat":"37.7851","lng":"-122.405","address":"780 Mission Street ","city":"San Francisco","url":"http://www.booking.com/hotel/us/marriott-marquis-san-francisco.html?aid=802549","class":"4","milesFrom":"0.05457881794407629"}, {"id":"56069","name":"The Mosser Hotel","lat":"37.785","lng":"-122.405","address":"54 4th Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-mosser-san-francisco.html?aid=802549","class":"3","milesFrom":"0.05500743896041024"}, {"id":"58640","name":"Palomar San Francisco, a Kimpton Hotel","lat":"37.7854","lng":"-122.406","address":"12 Fourth Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/palomar-san-francisco.html?aid=802549","class":"4","milesFrom":"0.11112583710250505"}, {"id":"187727","name":"Four Seasons Hotel San Francisco","lat":"37.7866","lng":"-122.405","address":"757 Market Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/four-seasons-san-francisco.html?aid=802549","class":"5","milesFrom":"0.11708782872985708"}, {"id":"58476","name":"The Westin San Francisco Market Street","lat":"37.7867","lng":"-122.403","address":"50 3rd Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-westin-san-francisco-market-street.html?aid=802549","class":"4","milesFrom":"0.12342877338468075"}, {"id":"58524","name":"St. Regis San Francisco","lat":"37.786","lng":"-122.402","address":"125 Third Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/st-regis-san-francisco.html?aid=802549","class":"5","milesFrom":"0.12563788607733684"}, {"id":"457645","name":"Hotel Zetta San Francisco","lat":"37.7833","lng":"-122.407","address":"55 5th Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/zetta.html?aid=802549","class":"4","milesFrom":"0.20564244657893535"}, {"id":"181935","name":"InterContinental San Francisco","lat":"37.7821","lng":"-122.404","address":"888 Howard Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/inter-continental-san-francisco.html?aid=802549","class":"4","milesFrom":"0.20717888594800582"}, {"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.2186947964415565"}, {"id":"56177","name":"The Powell Hotel","lat":"37.7848","lng":"-122.408","address":"28 Cyril Magnin Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-powell.html?aid=802549","class":"3","milesFrom":"0.2192816739912538"}, {"id":"78774","name":"Hotel Abri Union Square","lat":"37.7854","lng":"-122.408","address":"127 Ellis Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/abri.html?aid=802549","class":"3","milesFrom":"0.21930566413435973"}, {"id":"58525","name":"W San Francisco","lat":"37.7854","lng":"-122.4","address":"181 Third Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/w-san-francisco.html?aid=802549","class":"4","milesFrom":"0.21930566413435973"}, {"id":"56109","name":"Hotel Union Square - A Personality Hotel","lat":"37.7858","lng":"-122.408","address":"114 Powell Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/union-square.html?aid=802549","class":"3","milesFrom":"0.22363663548948673"}, {"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.24662063479842491"}, {"id":"58808","name":"Villa Florence Hotel","lat":"37.7868","lng":"-122.408","address":"225 Powell Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/villa-florence.html?aid=802549","class":"4","milesFrom":"0.24795302282167966"}, {"id":"56337","name":"Hotel Fusion, a C-Two Hotel","lat":"37.7855","lng":"-122.409","address":"140 Ellis Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/fusion.html?aid=802549","class":"3","milesFrom":"0.2742932245443438"}, {"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.2742946960022482"}, {"id":"58707","name":"The Westin St Francis on Union Square","lat":"37.7876","lng":"-122.408","address":"335 Powell Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-westin-st-francis.html?aid=802549","class":"4","milesFrom":"0.2784936827192889"}, {"id":"58554","name":"Hotel Nikko San Francisco","lat":"37.7862","lng":"-122.409","address":"222 Mason Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/nikko-san-francisco.html?aid=802549","class":"4","milesFrom":"0.2833247720109544"}, {"id":"56285","name":"Handlery Union Square Hotel","lat":"37.7872","lng":"-122.409","address":"351 Geary Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/handlery-union-square.html?aid=802549","class":"3","milesFrom":"0.3091319908630575"}],"notveryclose" : 52,"quiteclose" : 26,"veryclose" : 8}