var map_data = {"restaurants": [{"id":"2897","name":"Morton's The Steakhouse - San Francisco","lat":"37.7884","lng":"-122.409","address":"400 Post St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.04164664628471364"}, {"id":"1328065","name":"Starlite","lat":"37.789","lng":"-122.408","address":"450 Powell St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.054575935868506294"}, {"id":"1277452","name":"The Post Room","lat":"37.789","lng":"-122.408","address":"450 Powell St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.054575935868506294"}, {"id":"59653","name":"Cesario's","lat":"37.789","lng":"-122.41","address":"601 Sutter St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.05499254606597181"}, {"id":"7742","name":"Tower Salon - The Westin St. Francis","lat":"37.788","lng":"-122.408","address":"335 Powell St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.08822857448456914"}, {"id":"118546","name":"Aliment","lat":"37.7902","lng":"-122.41","address":"786 Bush Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.09936982284905917"}, {"id":"1344","name":"Level III","lat":"37.7883","lng":"-122.411","address":"500 Post St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.11982322721022283"}, {"id":"1316566","name":"Corzetti","lat":"37.7873","lng":"-122.41","address":"398 Geary St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.12978632677227675"}, {"id":"2474","name":"Biscuits and Blues","lat":"37.7873","lng":"-122.41","address":"401 Mason St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.12978632677227675"}, {"id":"83236","name":"Bouche","lat":"37.7902","lng":"-122.407","address":"603 Bush Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.13698236590195326"}, {"id":"1062541","name":"Mastro's Steakhouse - San Francisco","lat":"37.7871","lng":"-122.41","address":"399 Geary St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.14232014509014956"}, {"id":"1344646","name":"The Barnes Restaurant and Bar","lat":"37.7868","lng":"-122.408","address":"225 Powell St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1615852322163396"}, {"id":"298576","name":"Matador - San Francisco","lat":"37.7887","lng":"-122.412","address":"679 Sutter St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1654602990519424"}, {"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.1655081803883572"}, {"id":"139744","name":"bota tapas and paella bar","lat":"37.7871","lng":"-122.411","address":"490 Geary Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.17098633482083136"}, {"id":"118126","name":"Bartlett Hall","lat":"37.7865","lng":"-122.409","address":"242 O' Farrell Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1729126579922287"}, {"id":"129346","name":"Nob Hill Club at the Mark Hopkins","lat":"37.7914","lng":"-122.41","address":"One Nob Hill","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1746778115617556"}, {"id":"5055","name":"Cafe de la Presse","lat":"37.7904","lng":"-122.406","address":"352 Grant Ave","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.19016881706262"}, {"id":"1039294","name":"ONE65 Bistro","lat":"37.7865","lng":"-122.407","address":"165 O'Farrell Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.20448306008594347"}, {"id":"2104","name":"Top of the Mark","lat":"37.7916","lng":"-122.411","address":"Number One Nob Hill","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.21029957693294477"}],"parking": [{"id":"10035","name":"490 Post St. Garage - Valet","lat":"37.7884","lng":"-122.41","address":"520 Mason St.","city":"San Francisco","milesFrom":"0.06898295395418044"}, {"id":"13482","name":"JW Marriott Hotel Union Square - Valet Kiosk","lat":"37.7883","lng":"-122.41","address":"515 Mason St.","city":"San Francisco","milesFrom":"0.07332426856437903"}, {"id":"14975","name":"750 Bush St. Garage - Valet","lat":"37.7901","lng":"-122.41","address":"750 Bush St.","city":"San Francisco","milesFrom":"0.09373846401386624"}, {"id":"9571","name":"433 Mason St. Lot - Valet","lat":"37.7877","lng":"-122.41","address":"433 Mason St.","city":"San Francisco","milesFrom":"0.10537162038046463"}, {"id":"52651","name":"660 Sutter St. Lot","lat":"37.7889","lng":"-122.411","address":"660 Sutter St.","city":"San Francisco","milesFrom":"0.10979944564321066"}, {"id":"54787","name":"569 Post St. Garage","lat":"37.7878","lng":"-122.411","address":"569 Post St.","city":"San Francisco","milesFrom":"0.13747501433126752"}, {"id":"15155","name":"Crocker Garage - Valet","lat":"37.7916","lng":"-122.411","address":"1045 California St.","city":"San Francisco","milesFrom":"0.21029957693294477"}, {"id":"3752","name":"415 Taylor St. Garage - Valet","lat":"37.7864","lng":"-122.411","address":"415 Taylor St.","city":"San Francisco","milesFrom":"0.21052661349051524"}, {"id":"15451","name":"50 Cosmo Pl. Lot","lat":"37.7881","lng":"-122.413","address":"50 Cosmo Pl.","city":"San Francisco","milesFrom":"0.2273957123988014"}, {"id":"46911","name":"815 Powell St. Garage","lat":"37.7924","lng":"-122.409","address":"815 Powell St.","city":"San Francisco","milesFrom":"0.23485545468151806"}, {"id":"14108","name":"Hotel Nikko San Francisco - Valet","lat":"37.7854","lng":"-122.409","address":"199 Ellis St.","city":"San Francisco","milesFrom":"0.24882553223271944"}, {"id":"12473","name":"Hotel Adagio Lot - Valet","lat":"37.7871","lng":"-122.413","address":"550 Geary St.","city":"San Francisco","milesFrom":"0.25508937409167504"}, {"id":"9626","name":"Hilton Union Square Garage","lat":"37.7853","lng":"-122.41","address":"220 Ellis St.","city":"San Francisco","milesFrom":"0.26152623001026565"}, {"id":"46632","name":"560 Geary St. Garage","lat":"37.7868","lng":"-122.413","address":"560 Geary St.","city":"San Francisco","milesFrom":"0.2664041737887893"}, {"id":"9439","name":"Nob Hill Masonic Center Garage","lat":"37.7914","lng":"-122.413","address":"1101 California St.","city":"San Francisco","milesFrom":"0.27445454200797936"}, {"id":"15154","name":"Brocklebank Garage - Valet","lat":"37.7929","lng":"-122.41","address":"1040 Sacramento St.","city":"San Francisco","milesFrom":"0.27494080039573704"}, {"id":"4802","name":"PARC 55 Hotel - Valet Kiosk","lat":"37.7849","lng":"-122.409","address":"55 Cyril Magnin St.","city":"San Francisco","milesFrom":"0.28335534655738703"}, {"id":"39654","name":"222 Kearny St. Garage - Valet","lat":"37.7903","lng":"-122.404","address":"222 Kearny St.","city":"San Francisco","milesFrom":"0.2872170660792816"}, {"id":"14083","name":"233 Ellis St. Garage","lat":"37.7851","lng":"-122.411","address":"261 Ellis St.","city":"San Francisco","milesFrom":"0.29106080366018333"}, {"id":"52779","name":"PMC Garage","lat":"37.7898","lng":"-122.403","address":"173 Sutter St.","city":"San Francisco","milesFrom":"0.33205553996716763"}],"hotels": [{"id":"58807","name":"Hotel Cartwright Union Square","lat":"37.7892","lng":"-122.409","address":"524 Sutter Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/larkspur-union-square.html?aid=802549","class":"3","milesFrom":"0.013706491182310815"}, {"id":"58634","name":"Chancellor Hotel on Union Square","lat":"37.7888","lng":"-122.409","address":"433 Powell Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/chancellor-on-union-square.html?aid=802549","class":"3","milesFrom":"0.013970077551201407"}, {"id":"56258","name":"Inn At Union Square","lat":"37.7883","lng":"-122.409","address":"440 Post Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/inn-at-union-square.html?aid=802549","class":"3","milesFrom":"0.04849989187586905"}, {"id":"48414","name":"Sir Francis Drake, a Kimpton Hotel","lat":"37.789","lng":"-122.408","address":"450 Powell Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/sir-francis-drake.html?aid=802549","class":"4","milesFrom":"0.054575935868506294"}, {"id":"56147","name":"Kensington Park Hotel - A Personality Hotel","lat":"37.7882","lng":"-122.409","address":"450 Post Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/kensington-park.html?aid=802549","class":"3","milesFrom":"0.05535313746702445"}, {"id":"245043","name":"Marines' Memorial Club & Hotel Union Square","lat":"37.7889","lng":"-122.41","address":"609 Sutter Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/marine-s-memorial-club-union-square.html?aid=802549","class":"3","milesFrom":"0.055451182450607206"}, {"id":"56191","name":"Hotel Rex, a Joie de Vivre Hotel","lat":"37.7892","lng":"-122.41","address":"562 Sutter Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/rex.html?aid=802549","class":"3","milesFrom":"0.05667486131573602"}, {"id":"263013","name":"San Francisco Marriott Union Square","lat":"37.7894","lng":"-122.408","address":"480 Sutter Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/san-francisco-marriott-union-square.html?aid=802549","class":"4","milesFrom":"0.061073630862384"}, {"id":"47917","name":"Cornell Hotel de France","lat":"37.79","lng":"-122.409","address":"715 Bush Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/cornell-de-france.html?aid=802549","class":"3","milesFrom":"0.06905962864933525"}, {"id":"59845","name":"Club Donatello","lat":"37.788","lng":"-122.41","address":"501 Post Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/club-donatello.html?aid=802549","class":"4","milesFrom":"0.08848688785476976"}, {"id":"56184","name":"Orchard Hotel","lat":"37.7901","lng":"-122.408","address":"665 Bush Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/orchard.html?aid=802549","class":"3","milesFrom":"0.09349466812313455"}, {"id":"56364","name":"The Donatello Hotel","lat":"37.7879","lng":"-122.41","address":"501 Post Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-donatello.html?aid=802549","class":"4","milesFrom":"0.09395253265217125"}, {"id":"59019","name":"Executive Hotel Vintage Court","lat":"37.7903","lng":"-122.408","address":"650 Bush Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/executive-vintage-court.html?aid=802549","class":"3","milesFrom":"0.1049290767852382"}, {"id":"76888","name":"Taj Campton Place","lat":"37.7891","lng":"-122.407","address":"340 Stockton Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/campton-place-taj.html?aid=802549","class":"5","milesFrom":"0.10936673208608602"}, {"id":"173064","name":"Grand Hyatt San Francisco Union Square","lat":"37.7892","lng":"-122.407","address":"345 Stockton Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/grand-hyatt-san-francisco.html?aid=802549","class":"4","milesFrom":"0.11000894064242264"}, {"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.1110697127492679"}, {"id":"183226","name":"Petite Auberge","lat":"37.7897","lng":"-122.411","address":"863 Bush Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/petite-auberge.html?aid=802549","class":"3","milesFrom":"0.1197158301419687"}, {"id":"183233","name":"White Swan Inn","lat":"37.7898","lng":"-122.411","address":"845 Bush Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/white-swan-inn.html?aid=802549","class":"3","milesFrom":"0.12263760167274713"}, {"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.12441276611635972"}, {"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.12563287803715434"}],"notveryclose" : 60,"quiteclose" : 44,"veryclose" : 21}