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.06867957336158907"}, {"id":"44737","name":"Oro","lat":"37.783","lng":"-122.408","address":"8 Mint Plaza","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.11309952349373774"}, {"id":"51673","name":"54 Mint","lat":"37.7826","lng":"-122.408","address":"16 Mint Plaza","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.12457834772303533"}, {"id":"31408","name":"Cable 55","lat":"37.7849","lng":"-122.409","address":"55 Cyril Magnin Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.16633544745082274"}, {"id":"144916","name":"Kin Khao","lat":"37.7849","lng":"-122.409","address":"55 Cyril Magnin","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.16725191155047994"}, {"id":"109843","name":"The Cavalier","lat":"37.7833","lng":"-122.407","address":"360 Jessie Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.17754022417089874"}, {"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.17922456676697623"}, {"id":"167737","name":"Tap (415)","lat":"37.784","lng":"-122.407","address":"865 Market Street 4th Floor","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.18126834395407754"}, {"id":"7547","name":"New Delhi Restaurant","lat":"37.7854","lng":"-122.409","address":"160 Ellis Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.20268509011805544"}, {"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.20790574124040678"}, {"id":"924","name":"Puccini & Pinetti","lat":"37.7854","lng":"-122.409","address":"129 Ellis Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.20922036256106363"}, {"id":"144724","name":"TBD Restaurant","lat":"37.7796","lng":"-122.41","address":"1077 Mission Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.20977017206273846"}, {"id":"141","name":"ANZU","lat":"37.7857","lng":"-122.409","address":"222 Mason St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.21659745910702427"}, {"id":"144721","name":"AQ Restaurant & Bar","lat":"37.7795","lng":"-122.41","address":"1085 Mission Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.21757088521311152"}, {"id":"2870","name":"Urban Tavern’s Cityscape","lat":"37.7858","lng":"-122.41","address":"Hilton San Francisco 333 O'Farrell St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2203645062828075"}, {"id":"28432","name":"Infusion Lounge","lat":"37.7855","lng":"-122.408","address":"124 Ellis Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.22239441750395347"}, {"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.23186861848470652"}, {"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.2371410823539519"}, {"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.2371410823539519"}, {"id":"118477","name":"Marrakech Moroccan Restaurant","lat":"37.7859","lng":"-122.412","address":"419 O'Farrell Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.24759077417358386"}],"parking": [{"id":"5016","name":"Turquoise Parking, LLC","lat":"37.783","lng":"-122.411","address":"90 Taylor St.","city":"San Francisco","milesFrom":"0.061196610202051194"}, {"id":"4911","name":"Priority Parking","lat":"37.7818","lng":"-122.409","address":"486 Jessie St.","city":"San Francisco","milesFrom":"0.07803016501869954"}, {"id":"5014","name":"Turquoise Parking, LLC","lat":"37.7823","lng":"-122.412","address":"64 Golden Gate Ave.","city":"San Francisco","milesFrom":"0.1111298993181411"}, {"id":"5318","name":"Tower Valet Parking, Inc","lat":"37.7821","lng":"-122.412","address":"99 Golden Gate Ave.","city":"San Francisco","milesFrom":"0.11449272375833504"}, {"id":"4912","name":"Priority Parking","lat":"37.7837","lng":"-122.408","address":"55 5th St","city":"San Francisco","milesFrom":"0.13330385613670429"}, {"id":"5216","name":"Rock Star Parking","lat":"37.784","lng":"-122.412","address":"265 Eddy St","city":"San Francisco","milesFrom":"0.14585561806575675"}, {"id":"4855","name":"Priority Parking","lat":"37.7804","lng":"-122.41","address":"1036 Mission St.","city":"San Francisco","milesFrom":"0.15208933484987194"}, {"id":"4802","name":"PARC 55 Wyndham Hotel","lat":"37.7849","lng":"-122.409","address":"55 Cyril Magnin St","city":"San Francisco","milesFrom":"0.16818844723678214"}, {"id":"2538","name":"EZ Public Parking Garage","lat":"37.7843","lng":"-122.413","address":"333 Jones Street","city":"San Francisco","milesFrom":"0.20157148304600514"}, {"id":"3842","name":"California Parking","lat":"37.7864","lng":"-122.411","address":"400 Taylor St.","city":"San Francisco","milesFrom":"0.26814540638067597"}, {"id":"3752","name":"415 Taylor Garage","lat":"37.7864","lng":"-122.412","address":"415 Taylor St.","city":"San Francisco","milesFrom":"0.28432137783979833"}, {"id":"4003","name":"Ace Parking","lat":"37.7818","lng":"-122.404","address":"322 Tehama St.","city":"San Francisco","milesFrom":"0.33254165909103395"}, {"id":"4732","name":"Post & Taylor Garage","lat":"37.7878","lng":"-122.411","address":"569 Post St.","city":"San Francisco","milesFrom":"0.36339027737212853"}, {"id":"5015","name":"Turquoise Parking, LLC","lat":"37.7774","lng":"-122.409","address":"234 7th St.","city":"San Francisco","milesFrom":"0.36345367144551494"}, {"id":"2269","name":"Ace Parking - Post St. Towers","lat":"37.787","lng":"-122.414","address":"644 Geary St.","city":"San Francisco","milesFrom":"0.3742009111844978"}, {"id":"4272","name":"JW Marriott Hotel - Union Square","lat":"37.7882","lng":"-122.41","address":"500 Post St.","city":"San Francisco","milesFrom":"0.38694478953139"}, {"id":"4977","name":"Priority Parking","lat":"37.7764","lng":"-122.409","address":"64 Rausch St","city":"San Francisco","milesFrom":"0.43184453721369165"}, {"id":"5420","name":"California Parking","lat":"37.7824","lng":"-122.418","address":"530 Turk St.","city":"San Francisco","milesFrom":"0.43686932472461687"}, {"id":"5319","name":"American West Parking","lat":"37.7886","lng":"-122.414","address":"840 Sutter St.","city":"San Francisco","milesFrom":"0.46858487116053715"}, {"id":"4343","name":"Westin Hotel - 50 3rd St.","lat":"37.7867","lng":"-122.403","address":"50 3rd. St.","city":"San Francisco","milesFrom":"0.4759979740243996"}],"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.05674394578390798"}, {"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.1550536835257488"}, {"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.16647493529489052"}, {"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.1710980546578394"}, {"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.18745170113304804"}, {"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.20773768936051773"}, {"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.21424756408698903"}, {"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.22234757637453845"}, {"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.24111407338295476"}, {"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.24680696134172891"}, {"id":"184986","name":"Super 8 Union Square","lat":"37.7859","lng":"-122.412","address":"415 O'Farrell Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/super-8-union-square.html?aid=802549","class":"3","milesFrom":"0.2527858194194189"}, {"id":"47443","name":"Serrano San Francisco","lat":"37.7862","lng":"-122.411","address":"405 Taylor Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/serrano.html?aid=802549","class":"4","milesFrom":"0.2547411414184808"}, {"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.2548307323729764"}, {"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.2693852690061856"}, {"id":"347594","name":"HI - San Francisco Downtown","lat":"37.7865","lng":"-122.41","address":"312 Mason Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/hi-san-francisco-downtown.html?aid=802549","class":"3","milesFrom":"0.2693852690061856"}, {"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.2693852690061856"}, {"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.28150747602556436"}, {"id":"56257","name":"King George","lat":"37.7868","lng":"-122.41","address":"334 Mason Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/king-george.html?aid=802549","class":"3","milesFrom":"0.2902085921485425"}, {"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.2920216357563764"}, {"id":"56203","name":"Clift - A Morgans Original","lat":"37.7869","lng":"-122.411","address":"495 Geary Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/clift.html?aid=802549","class":"4","milesFrom":"0.30203412215016506"}],"notveryclose" : 56,"quiteclose" : 21,"veryclose" : 4}