var map_data = {"restaurants": [{"id":"78232","name":"Per Diem","lat":"37.7901","lng":"-122.401","address":"43 Sutter Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.059769450584872964"}, {"id":"149527","name":"Yank Sing - Stevenson Street","lat":"37.7897","lng":"-122.399","address":"49 Stevenson Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.0905866669582399"}, {"id":"2657","name":"Garden Court","lat":"37.7879","lng":"-122.402","address":"2 New Montgomery St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.10671780188524783"}, {"id":"963","name":"Roy's - San Francisco","lat":"37.7882","lng":"-122.4","address":"575 Mission Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.10962816011086501"}, {"id":"171466","name":"Aquitaine","lat":"37.7897","lng":"-122.403","address":"175 Sutter Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1288235824343332"}, {"id":"136987","name":"North India Restaurant","lat":"37.7877","lng":"-122.4","address":"123 2nd Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.13688410950988536"}, {"id":"144124","name":"Gaspar Brasserie","lat":"37.7898","lng":"-122.403","address":"185 Sutter Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.13705251891926662"}, {"id":"7696","name":"Salt House","lat":"37.7887","lng":"-122.398","address":"545 Mission St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.15179009301462687"}, {"id":"21244","name":"Anchor and Hope","lat":"37.7877","lng":"-122.399","address":"83 Minna Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.16250974594841947"}, {"id":"1728","name":"Sam’s Grill & Seafood Restaurant","lat":"37.7907","lng":"-122.403","address":"374 Bush St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.16269650143382003"}, {"id":"191098","name":"Jersey Restaurant","lat":"37.7876","lng":"-122.399","address":"145 Second Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.16425574266110082"}, {"id":"95704","name":"Hakkasan - San Francisco","lat":"37.7878","lng":"-122.404","address":"One Kearny Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.17287011090379553"}, {"id":"22633","name":"Gitane","lat":"37.7898","lng":"-122.404","address":"6 Claude Lane","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.17969361473704074"}, {"id":"3592","name":"Cafe Claude - Downtown","lat":"37.7899","lng":"-122.404","address":"7 Claude Lane","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1799146224406858"}, {"id":"159247","name":"Mourad","lat":"37.7867","lng":"-122.4","address":"140 New Montgomery St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1867481991727539"}, {"id":"3599","name":"Cafe Bastille","lat":"37.7911","lng":"-122.404","address":"22 Belden Place","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.19111369279727936"}, {"id":"167","name":"Cafe Tiramisu","lat":"37.7912","lng":"-122.404","address":"28 Belden Place","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1940863269036495"}, {"id":"141049","name":"Trou Normand","lat":"37.7867","lng":"-122.4","address":"140 New Montgomery Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.19409635521247642"}, {"id":"3604","name":"Plouf","lat":"37.7913","lng":"-122.404","address":"40 Belden Place","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2000675487890148"}, {"id":"5546","name":"Ame","lat":"37.7864","lng":"-122.402","address":"689 Mission Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.201882189967463"}],"parking": [{"id":"4350","name":"Propark","lat":"37.7909","lng":"-122.402","address":"225 Bush St.","city":"San Francisco","milesFrom":"0.12342740181014976"}, {"id":"4852","name":"85 Second St Garage","lat":"37.7884","lng":"-122.399","address":"588 Mission St.","city":"San Francisco","milesFrom":"0.12563365154194905"}, {"id":"4343","name":"Westin Hotel - 50 3rd St.","lat":"37.7867","lng":"-122.403","address":"50 3rd. St.","city":"San Francisco","milesFrom":"0.21008459220628128"}, {"id":"2291","name":"Ace Parking","lat":"37.7915","lng":"-122.398","address":"333 Market St","city":"San Francisco","milesFrom":"0.2234657610698727"}, {"id":"4853","name":"Priority Parking","lat":"37.7867","lng":"-122.398","address":"201 2nd St.","city":"San Francisco","milesFrom":"0.2429580280163366"}, {"id":"5517","name":"388 Market St. Building Garage","lat":"37.7921","lng":"-122.398","address":"36 Front St.","city":"San Francisco","milesFrom":"0.25345045049655274"}, {"id":"4000","name":"Ace Parking","lat":"37.7855","lng":"-122.399","address":"55 Hawthorne St.","city":"San Francisco","milesFrom":"0.28431973383370923"}, {"id":"4703","name":"Impark","lat":"37.7881","lng":"-122.396","address":"505 Howard St.","city":"San Francisco","milesFrom":"0.2851563734618214"}, {"id":"2282","name":"Ace Parking","lat":"37.7931","lng":"-122.404","address":"41 Spring St.","city":"San Francisco","milesFrom":"0.30939984493917927"}, {"id":"4804","name":"Propark","lat":"37.7938","lng":"-122.4","address":"275 Battery St.","city":"San Francisco","milesFrom":"0.31578343793224667"}, {"id":"5077","name":"Marriott Courtyard Downtown","lat":"37.7859","lng":"-122.397","address":"299 2nd St","city":"San Francisco","milesFrom":"0.3206484323932729"}, {"id":"3956","name":"Douglas Parking","lat":"37.7933","lng":"-122.404","address":"665 Sacramento St.","city":"San Francisco","milesFrom":"0.32133866748278245"}, {"id":"2288","name":"Ace Parking","lat":"37.7881","lng":"-122.395","address":"234 1st St.","city":"San Francisco","milesFrom":"0.3381586958298171"}, {"id":"2303","name":"Ace Parking","lat":"37.7937","lng":"-122.404","address":"637 Sacramento St","city":"San Francisco","milesFrom":"0.3454412325797375"}, {"id":"5721","name":"Ace Parking","lat":"37.7934","lng":"-122.405","address":"711 Sacramento St","city":"San Francisco","milesFrom":"0.3576922535343735"}, {"id":"5440","name":"Le Méridien San Francisco","lat":"37.7947","lng":"-122.401","address":"333 Battery St.","city":"San Francisco","milesFrom":"0.3732382983490791"}, {"id":"2281","name":"Ace Parking","lat":"37.7908","lng":"-122.394","address":"201 Mission St","city":"San Francisco","milesFrom":"0.39622370355981407"}, {"id":"4735","name":"Priority Parking","lat":"37.7844","lng":"-122.396","address":"350 2nd St.","city":"San Francisco","milesFrom":"0.4347557981893753"}, {"id":"2295","name":"Ace Parking","lat":"37.7953","lng":"-122.404","address":"643 Washington St.","city":"San Francisco","milesFrom":"0.4457749128323845"}, {"id":"4272","name":"JW Marriott Hotel - Union Square","lat":"37.7882","lng":"-122.41","address":"500 Post St.","city":"San Francisco","milesFrom":"0.4974283903687823"}],"hotels": [{"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.08802148251245019"}, {"id":"56192","name":"Galleria Park, a Joie de Vivre Hotel","lat":"37.7898","lng":"-122.404","address":"191 Sutter Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/galleria-park.html?aid=802549","class":"3","milesFrom":"0.16732813836582042"}, {"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.21008459220628128"}, {"id":"188214","name":"Mandarin Oriental San Francisco","lat":"37.7925","lng":"-122.401","address":"222 Sansome Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/mandarin-oriental-san-francisco.html?aid=802549","class":"5","milesFrom":"0.2211489634992072"}, {"id":"180980","name":"Triton, a Kimpton Hotel","lat":"37.7903","lng":"-122.405","address":"342 Grant Avenue","city":"San Francisco","url":"http://www.booking.com/hotel/us/triton.html?aid=802549","class":"4","milesFrom":"0.22896446961812825"}, {"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.23444327488870856"}, {"id":"56183","name":"Orchard Garden Hotel","lat":"37.7907","lng":"-122.405","address":"466 Bush Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/orchard-garden.html?aid=802549","class":"3","milesFrom":"0.23877422305671395"}, {"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.27485830729203214"}, {"id":"58866","name":"Baldwin Hotel","lat":"37.79","lng":"-122.406","address":"321 Grant Avenue","city":"San Francisco","url":"http://www.booking.com/hotel/us/baldwinhotelsf.html?aid=802549","class":"3","milesFrom":"0.27715384158744705"}, {"id":"180721","name":"Omni San Francisco","lat":"37.7931","lng":"-122.403","address":"500 California Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/omni-san-francisco.html?aid=802549","class":"5","milesFrom":"0.28431757924128254"}, {"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.2872013043920275"}, {"id":"262874","name":"Courtyard by Marriott San Francisco Downtown","lat":"37.7859","lng":"-122.397","address":"299 Second Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/courtyard-san-francisco-downtown.html?aid=802549","class":"3","milesFrom":"0.3206484323932729"}, {"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.3275262237806066"}, {"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.3277414714542568"}, {"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.33009072223748476"}, {"id":"1165258","name":"Worldmark Hotel, San Francisco","lat":"37.7905","lng":"-122.407","address":"590 Bush Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/worldmark-san-francisco.html?aid=802549","class":"3","milesFrom":"0.3378143051935174"}, {"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.363152689887941"}, {"id":"262880","name":"The Ritz-Carlton, San Francisco","lat":"37.7917","lng":"-122.407","address":"600 Stockton at California Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-ritz-carlton-san-francisco.html?aid=802549","class":"5","milesFrom":"0.36703009471997805"}, {"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.3686524767562568"}, {"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.3820912216654989"}],"notveryclose" : 57,"quiteclose" : 22,"veryclose" : 3}