var map_data = {"restaurants": [{"id":"2391","name":"The Keystone","lat":"37.785","lng":"-122.405","address":"68 Fourth Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.055387513685211616"}, {"id":"24886","name":"Amber India","lat":"37.7855","lng":"-122.404","address":"25 Yerba Buena Lane","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.07117929445981597"}, {"id":"88192","name":"Sanraku Metreon","lat":"37.7838","lng":"-122.403","address":"101 4th Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.07527473338547251"}, {"id":"113359","name":"Press Club","lat":"37.7861","lng":"-122.404","address":"20 Yerba Buena Lane","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1109035568914285"}, {"id":"58276","name":"Bluestem Brasserie","lat":"37.786","lng":"-122.405","address":"ONE Yerba Buena Lane","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.11681746043020874"}, {"id":"241","name":"Dirty Habit","lat":"37.7856","lng":"-122.406","address":"12 Fourth St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1200282347399296"}, {"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.12033275595918518"}, {"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.12033275595918518"}, {"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.13377398042107164"}, {"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.16204428427644793"}, {"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.16498383311691198"}, {"id":"167737","name":"Tap (415)","lat":"37.784","lng":"-122.407","address":"865 Market Street 4th Floor","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.17661461290683755"}, {"id":"109843","name":"The Cavalier","lat":"37.7833","lng":"-122.407","address":"360 Jessie Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.17730411972078683"}, {"id":"5546","name":"Ame","lat":"37.7864","lng":"-122.402","address":"689 Mission Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.17983410815489803"}, {"id":"2025","name":"Trace","lat":"37.7854","lng":"-122.401","address":"181 Third Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.18042860419485027"}, {"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.18539981937990366"}, {"id":"18073","name":"Luce","lat":"37.7818","lng":"-122.405","address":"888 Howard Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.19242735245838105"}, {"id":"4546","name":"John's Grill","lat":"37.7856","lng":"-122.407","address":"63 Ellis Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.19303845283035984"}, {"id":"1913","name":"LuLu","lat":"37.7818","lng":"-122.402","address":"816 Folsom St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2207475483235619"}, {"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.22967933463070456"}],"parking": [{"id":"4343","name":"Westin Hotel - 50 3rd St.","lat":"37.7867","lng":"-122.403","address":"50 3rd. St.","city":"San Francisco","milesFrom":"0.1615858060104631"}, {"id":"4003","name":"Ace Parking","lat":"37.7818","lng":"-122.404","address":"322 Tehama St.","city":"San Francisco","milesFrom":"0.18661914917453956"}, {"id":"4912","name":"Priority Parking","lat":"37.7837","lng":"-122.408","address":"55 5th St","city":"San Francisco","milesFrom":"0.22522614591067566"}, {"id":"4802","name":"PARC 55 Wyndham Hotel","lat":"37.7849","lng":"-122.409","address":"55 Cyril Magnin St","city":"San Francisco","milesFrom":"0.2742954247193754"}, {"id":"4000","name":"Ace Parking","lat":"37.7855","lng":"-122.399","address":"55 Hawthorne St.","city":"San Francisco","milesFrom":"0.2814970983423274"}, {"id":"4911","name":"Priority Parking","lat":"37.7818","lng":"-122.409","address":"486 Jessie St.","city":"San Francisco","milesFrom":"0.3306082567679979"}, {"id":"4853","name":"Priority Parking","lat":"37.7867","lng":"-122.398","address":"201 2nd St.","city":"San Francisco","milesFrom":"0.3610653890674529"}, {"id":"4845","name":"Priority Parking","lat":"37.7809","lng":"-122.399","address":"777 Harrison St.","city":"San Francisco","milesFrom":"0.3693103914239552"}, {"id":"4852","name":"85 Second St Garage","lat":"37.7884","lng":"-122.399","address":"588 Mission St.","city":"San Francisco","milesFrom":"0.3834538899915144"}, {"id":"5077","name":"Marriott Courtyard Downtown","lat":"37.7859","lng":"-122.397","address":"299 2nd St","city":"San Francisco","milesFrom":"0.3941078704244557"}, {"id":"5016","name":"Turquoise Parking, LLC","lat":"37.783","lng":"-122.411","address":"90 Taylor St.","city":"San Francisco","milesFrom":"0.3962551646632715"}, {"id":"3842","name":"California Parking","lat":"37.7864","lng":"-122.411","address":"400 Taylor St.","city":"San Francisco","milesFrom":"0.40436545493926146"}, {"id":"4272","name":"JW Marriott Hotel - Union Square","lat":"37.7882","lng":"-122.41","address":"500 Post St.","city":"San Francisco","milesFrom":"0.415787863278775"}, {"id":"4855","name":"Priority Parking","lat":"37.7804","lng":"-122.41","address":"1036 Mission St.","city":"San Francisco","milesFrom":"0.43336994653130106"}, {"id":"4735","name":"Priority Parking","lat":"37.7844","lng":"-122.396","address":"350 2nd St.","city":"San Francisco","milesFrom":"0.4366881543680677"}, {"id":"5216","name":"Rock Star Parking","lat":"37.784","lng":"-122.412","address":"265 Eddy St","city":"San Francisco","milesFrom":"0.43841410690472105"}, {"id":"4732","name":"Post & Taylor Garage","lat":"37.7878","lng":"-122.411","address":"569 Post St.","city":"San Francisco","milesFrom":"0.4452672136260167"}, {"id":"4350","name":"Propark","lat":"37.7909","lng":"-122.402","address":"225 Bush St.","city":"San Francisco","milesFrom":"0.455567785029778"}, {"id":"3752","name":"415 Taylor Garage","lat":"37.7864","lng":"-122.412","address":"415 Taylor St.","city":"San Francisco","milesFrom":"0.4563323190346327"}, {"id":"5014","name":"Turquoise Parking, LLC","lat":"37.7823","lng":"-122.412","address":"64 Golden Gate Ave.","city":"San Francisco","milesFrom":"0.4627636372235113"}],"hotels": [{"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.06458470084234347"}, {"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.06849400817519155"}, {"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.12563865462899168"}, {"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.15048625710966798"}, {"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.15490589941853278"}, {"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.1615858060104631"}, {"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.16579582603218276"}, {"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.18358765980848732"}, {"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.19375597372078665"}, {"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.21930742530826366"}, {"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.22700525073871058"}, {"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.22700525073871058"}, {"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.23609412630979226"}, {"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.27004368307614285"}, {"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.2732399297200944"}, {"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.2814970983423274"}, {"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.284320300589085"}, {"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.29713787648083934"}, {"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.3059133618596288"}, {"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.30914079439091585"}],"notveryclose" : 51,"quiteclose" : 29,"veryclose" : 5}