var map_data = {"restaurants": [{"id":"166387","name":"MONTESACRO PINSERIA","lat":"37.7816","lng":"-122.41","address":"510 Stevenson Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.06250278514128288"}, {"id":"51673","name":"54 Mint","lat":"37.7826","lng":"-122.408","address":"16 Mint Plaza","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.09840606921799597"}, {"id":"44737","name":"Oro","lat":"37.783","lng":"-122.408","address":"8 Mint Plaza","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.10875049296664271"}, {"id":"144724","name":"TBD Restaurant","lat":"37.7796","lng":"-122.41","address":"1077 Mission Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.15462437609170993"}, {"id":"109843","name":"The Cavalier","lat":"37.7833","lng":"-122.407","address":"360 Jessie Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.16568525135710802"}, {"id":"144721","name":"AQ Restaurant & Bar","lat":"37.7795","lng":"-122.41","address":"1085 Mission Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.16648267869108196"}, {"id":"167737","name":"Tap (415)","lat":"37.784","lng":"-122.407","address":"865 Market Street 4th Floor","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1909089591494205"}, {"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.19689373216984649"}, {"id":"31408","name":"Cable 55","lat":"37.7849","lng":"-122.409","address":"55 Cyril Magnin Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2258939023711442"}, {"id":"144916","name":"Kin Khao","lat":"37.7849","lng":"-122.409","address":"55 Cyril Magnin","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.22642682419538865"}, {"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.23761481337334525"}, {"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.23761481337334525"}, {"id":"18073","name":"Luce","lat":"37.7818","lng":"-122.405","address":"888 Howard Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.23981822411326303"}, {"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.2550855518600574"}, {"id":"7547","name":"New Delhi Restaurant","lat":"37.7854","lng":"-122.409","address":"160 Ellis Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2625878900689934"}, {"id":"2089","name":"First Crush Restaurant & Wine Bar","lat":"37.7854","lng":"-122.409","address":"101 Cyril Magnin Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.26487600107436665"}, {"id":"924","name":"Puccini & Pinetti","lat":"37.7854","lng":"-122.409","address":"129 Ellis Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2651324513991809"}, {"id":"28432","name":"Infusion Lounge","lat":"37.7855","lng":"-122.408","address":"124 Ellis Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.27187370405694633"}, {"id":"141","name":"ANZU","lat":"37.7857","lng":"-122.409","address":"222 Mason St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2821296856125135"}, {"id":"4546","name":"John's Grill","lat":"37.7856","lng":"-122.407","address":"63 Ellis Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2922514675275652"}],"parking": [{"id":"4911","name":"Priority Parking","lat":"37.7818","lng":"-122.409","address":"486 Jessie St.","city":"San Francisco","milesFrom":"0.013706491182310815"}, {"id":"4855","name":"Priority Parking","lat":"37.7804","lng":"-122.41","address":"1036 Mission St.","city":"San Francisco","milesFrom":"0.09959300743118958"}, {"id":"5016","name":"Turquoise Parking, LLC","lat":"37.783","lng":"-122.411","address":"90 Taylor St.","city":"San Francisco","milesFrom":"0.14616881077583455"}, {"id":"4912","name":"Priority Parking","lat":"37.7837","lng":"-122.408","address":"55 5th St","city":"San Francisco","milesFrom":"0.15490665377298438"}, {"id":"5318","name":"Tower Valet Parking, Inc","lat":"37.7821","lng":"-122.412","address":"99 Golden Gate Ave.","city":"San Francisco","milesFrom":"0.16775253302010723"}, {"id":"5014","name":"Turquoise Parking, LLC","lat":"37.7823","lng":"-122.412","address":"64 Golden Gate Ave.","city":"San Francisco","milesFrom":"0.17110018440384342"}, {"id":"4802","name":"PARC 55 Wyndham Hotel","lat":"37.7849","lng":"-122.409","address":"55 Cyril Magnin St","city":"San Francisco","milesFrom":"0.2280022090903626"}, {"id":"5216","name":"Rock Star Parking","lat":"37.784","lng":"-122.412","address":"265 Eddy St","city":"San Francisco","milesFrom":"0.2333155964429725"}, {"id":"4003","name":"Ace Parking","lat":"37.7818","lng":"-122.404","address":"322 Tehama St.","city":"San Francisco","milesFrom":"0.2732506209609606"}, {"id":"2538","name":"EZ Public Parking Garage","lat":"37.7843","lng":"-122.413","address":"333 Jones Street","city":"San Francisco","milesFrom":"0.28752936070018675"}, {"id":"5015","name":"Turquoise Parking, LLC","lat":"37.7774","lng":"-122.409","address":"234 7th St.","city":"San Francisco","milesFrom":"0.2902085921485425"}, {"id":"3842","name":"California Parking","lat":"37.7864","lng":"-122.411","address":"400 Taylor St.","city":"San Francisco","milesFrom":"0.34922757750363437"}, {"id":"4977","name":"Priority Parking","lat":"37.7764","lng":"-122.409","address":"64 Rausch St","city":"San Francisco","milesFrom":"0.35926822079787774"}, {"id":"3752","name":"415 Taylor Garage","lat":"37.7864","lng":"-122.412","address":"415 Taylor St.","city":"San Francisco","milesFrom":"0.3700000817019726"}, {"id":"4732","name":"Post & Taylor Garage","lat":"37.7878","lng":"-122.411","address":"569 Post St.","city":"San Francisco","milesFrom":"0.44212147236841043"}, {"id":"4272","name":"JW Marriott Hotel - Union Square","lat":"37.7882","lng":"-122.41","address":"500 Post St.","city":"San Francisco","milesFrom":"0.45930876887239724"}, {"id":"2269","name":"Ace Parking - Post St. Towers","lat":"37.787","lng":"-122.414","address":"644 Geary St.","city":"San Francisco","milesFrom":"0.4623964768899776"}, {"id":"4343","name":"Westin Hotel - 50 3rd St.","lat":"37.7867","lng":"-122.403","address":"50 3rd. St.","city":"San Francisco","milesFrom":"0.48107958881846197"}, {"id":"5420","name":"California Parking","lat":"37.7824","lng":"-122.418","address":"530 Turk St.","city":"San Francisco","milesFrom":"0.4947234060002178"}, {"id":"4018","name":"California Parking","lat":"37.7757","lng":"-122.403","address":"801 Bryant St.","city":"San Francisco","milesFrom":"0.5230029185445269"}],"hotels": [{"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.055089551098133856"}, {"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.14585672281137727"}, {"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.16023289269998642"}, {"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.20773845736392757"}, {"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.20773845736392757"}, {"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.21403213153916117"}, {"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.22778468870765833"}, {"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.2681455566122793"}, {"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.2693852690061856"}, {"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.2750818757575192"}, {"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.29529643923423066"}, {"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.2971779336784247"}, {"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.3094088706372529"}, {"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.3178851608820547"}, {"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.3206570789873353"}, {"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.3230655043803846"}, {"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.32570985483147"}, {"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.32619170621209465"}, {"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.327905058900362"}, {"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.33130748767832974"}],"notveryclose" : 54,"quiteclose" : 17,"veryclose" : 5}