var map_data = {"restaurants": [{"id":"187606","name":"Rusty's Southern","lat":"37.7843","lng":"-122.419","address":"750 Ellis Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.047534587121232784"}, {"id":"112807","name":"mrCrave / bistro + cafe","lat":"37.784","lng":"-122.417","address":"655 Ellis Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1337309917729675"}, {"id":"171298","name":"Sushi Hana","lat":"37.7831","lng":"-122.42","address":"800 Van Ness Avenue","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.14857563915841995"}, {"id":"48388","name":"YamaSho","lat":"37.7867","lng":"-122.421","address":"1161 Post Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1601160830474436"}, {"id":"129343","name":"Bitters, Bock & Rye","lat":"37.7872","lng":"-122.42","address":"1117 Polk Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.16562223835906043"}, {"id":"5504","name":"Saha","lat":"37.7878","lng":"-122.418","address":"1075 Sutter Street Hotel Carlton","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.20535658014932803"}, {"id":"103384","name":"Arabian Sky Restaurant","lat":"37.7882","lng":"-122.418","address":"1098 Sutter Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2311482365512796"}, {"id":"106645","name":"Golden Kim Tar Chinese Restaurant","lat":"37.7819","lng":"-122.417","address":"434 Larkin Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.23124930319532788"}, {"id":"89713","name":"Mela Tandoori Kitchen","lat":"37.7813","lng":"-122.419","address":"536 Golden Gate Ave","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.25274249539393195"}, {"id":"50749","name":"Colombini Italian Cafe & Bistro - Nob Hill Hotel","lat":"37.7887","lng":"-122.417","address":"835 Hyde Street Suite B","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.28296891837198945"}, {"id":"83206","name":"Aicha","lat":"37.7889","lng":"-122.42","address":"1303 Polk St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2846864913346391"}, {"id":"78742","name":"O3 Bistro & Lounge","lat":"37.7806","lng":"-122.42","address":"524 Van Ness Avenue","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3059185969145622"}, {"id":"5166","name":"272 Soluna Cafe & Lounge","lat":"37.7806","lng":"-122.416","address":"272 McAllister Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3284261470427879"}, {"id":"61030","name":"Borobudur","lat":"37.7877","lng":"-122.414","address":"700 Post St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.35690725390381944"}, {"id":"37627","name":"Cafe Majestic","lat":"37.7872","lng":"-122.425","address":"1500 Sutter Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.38682182984983077"}, {"id":"118477","name":"Marrakech Moroccan Restaurant","lat":"37.7859","lng":"-122.412","address":"419 O'Farrell Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.39744826653072096"}, {"id":"90","name":"BDK","lat":"37.7866","lng":"-122.412","address":"501 Geary St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.4099966594575013"}, {"id":"108685","name":"Olea Restaurant","lat":"37.7909","lng":"-122.419","address":"1494 California Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.4167469172304677"}, {"id":"18133","name":"Ti Piacera","lat":"37.7909","lng":"-122.421","address":"1507 Polk Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.4228879239521605"}, {"id":"3099","name":"Ruth's Chris Steak House - San Francisco","lat":"37.7904","lng":"-122.422","address":"1601 Van Ness Avenue","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.4240495599726834"}],"parking": [{"id":"5420","name":"California Parking","lat":"37.7824","lng":"-122.418","address":"530 Turk St.","city":"San Francisco","milesFrom":"0.18132223116681093"}, {"id":"3751","name":"Ace Parking","lat":"37.782","lng":"-122.421","address":"711 Van Ness Ave.","city":"San Francisco","milesFrom":"0.2281365447045293"}, {"id":"2269","name":"Ace Parking - Post St. Towers","lat":"37.787","lng":"-122.414","address":"644 Geary St.","city":"San Francisco","milesFrom":"0.30900889366081324"}, {"id":"2538","name":"EZ Public Parking Garage","lat":"37.7843","lng":"-122.413","address":"333 Jones Street","city":"San Francisco","milesFrom":"0.3300795473229108"}, {"id":"5319","name":"American West Parking","lat":"37.7886","lng":"-122.414","address":"840 Sutter St.","city":"San Francisco","milesFrom":"0.37395119023933265"}, {"id":"5216","name":"Rock Star Parking","lat":"37.784","lng":"-122.412","address":"265 Eddy St","city":"San Francisco","milesFrom":"0.3870861876145893"}, {"id":"3752","name":"415 Taylor Garage","lat":"37.7864","lng":"-122.412","address":"415 Taylor St.","city":"San Francisco","milesFrom":"0.3958435502675359"}, {"id":"5014","name":"Turquoise Parking, LLC","lat":"37.7823","lng":"-122.412","address":"64 Golden Gate Ave.","city":"San Francisco","milesFrom":"0.4222383482705558"}, {"id":"5318","name":"Tower Valet Parking, Inc","lat":"37.7821","lng":"-122.412","address":"99 Golden Gate Ave.","city":"San Francisco","milesFrom":"0.428253898933356"}, {"id":"3842","name":"California Parking","lat":"37.7864","lng":"-122.411","address":"400 Taylor St.","city":"San Francisco","milesFrom":"0.44874732335485573"}, {"id":"5485","name":"Express Parking","lat":"37.7913","lng":"-122.421","address":"1725 Sacramento St.","city":"San Francisco","milesFrom":"0.45556764327357896"}, {"id":"5016","name":"Turquoise Parking, LLC","lat":"37.783","lng":"-122.411","address":"90 Taylor St.","city":"San Francisco","milesFrom":"0.45594179578857086"}, {"id":"4732","name":"Post & Taylor Garage","lat":"37.7878","lng":"-122.411","address":"569 Post St.","city":"San Francisco","milesFrom":"0.4803854058468654"}, {"id":"2270","name":"Ace Parking","lat":"37.7915","lng":"-122.422","address":"1776 Sacramento St.","city":"San Francisco","milesFrom":"0.4845073843793308"}, {"id":"4272","name":"JW Marriott Hotel - Union Square","lat":"37.7882","lng":"-122.41","address":"500 Post St.","city":"San Francisco","milesFrom":"0.5415368556311948"}, {"id":"4802","name":"PARC 55 Wyndham Hotel","lat":"37.7849","lng":"-122.409","address":"55 Cyril Magnin St","city":"San Francisco","milesFrom":"0.5462062774163328"}, {"id":"4855","name":"Priority Parking","lat":"37.7804","lng":"-122.41","address":"1036 Mission St.","city":"San Francisco","milesFrom":"0.5814150666973759"}, {"id":"4911","name":"Priority Parking","lat":"37.7818","lng":"-122.409","address":"486 Jessie St.","city":"San Francisco","milesFrom":"0.5867507745386563"}, {"id":"5751","name":"Grace Cathedral","lat":"37.792","lng":"-122.413","address":"1051 Taylor St.","city":"San Francisco","milesFrom":"0.5897903123246958"}, {"id":"4912","name":"Priority Parking","lat":"37.7837","lng":"-122.408","address":"55 5th St","city":"San Francisco","milesFrom":"0.60650037704496"}],"hotels": [{"id":"536374","name":"HI - San Francisco City Center Hostel","lat":"37.7841","lng":"-122.418","address":"685 Ellis Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/hi-san-francisco-city-center.html?aid=802549","class":"3","milesFrom":"0.07773586993811159"}, {"id":"56309","name":"The Opal","lat":"37.7855","lng":"-122.421","address":"1050 Van Ness Avenue","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-opal.html?aid=802549","class":"3","milesFrom":"0.11673865907895602"}, {"id":"57641","name":"Cova Hotel","lat":"37.7842","lng":"-122.417","address":"655 Ellis Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/ellis-street-san-francisco.html?aid=802549","class":"3","milesFrom":"0.11944792217314903"}, {"id":"56291","name":"Embassy Hotel","lat":"37.7825","lng":"-122.419","address":"610 Polk Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/embassy.html?aid=802549","class":"3","milesFrom":"0.16579582603218276"}, {"id":"23176","name":"Hotel Carlton, a Joie de Vivre Hotel","lat":"37.7879","lng":"-122.418","address":"1075 Sutter Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/carlton-san-francisco.html?aid=802549","class":"3","milesFrom":"0.214247131336841"}, {"id":"55849","name":"Nob Hill Hotel","lat":"37.7887","lng":"-122.417","address":"835 Hyde Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/nob-hill.html?aid=802549","class":"3","milesFrom":"0.2843200734550434"}, {"id":"22463","name":"Hotel Vertigo San Francisco","lat":"37.7884","lng":"-122.416","address":"940 Sutter Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/vertigo-san-francisco.html?aid=802549","class":"3","milesFrom":"0.2919445101867372"}, {"id":"186119","name":"The Steinhart Hotel - A Personality Hotel","lat":"37.7885","lng":"-122.416","address":"952 Sutter Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-steinhart.html?aid=802549","class":"3","milesFrom":"0.29786340723005933"}, {"id":"1100780","name":"Payne Mansion Hotel","lat":"37.787","lng":"-122.424","address":"1409 Sutter St San Francisco","city":"San Francisco","url":"http://www.booking.com/hotel/us/payne-mansion.html?aid=802549","class":"4","milesFrom":"0.3093768860690208"}, {"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.31567221769616216"}, {"id":"528335","name":"USA Hostels San Francisco","lat":"37.7875","lng":"-122.414","address":"711 Post Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/usa-hostels-san-francisco.html?aid=802549","class":"3","milesFrom":"0.3266344257450907"}, {"id":"58774","name":"Beresford Arms","lat":"37.7875","lng":"-122.414","address":"701 Post Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/beresford-arms.html?aid=802549","class":"3","milesFrom":"0.3266344257450907"}, {"id":"55850","name":"The Hotel California","lat":"37.7869","lng":"-122.413","address":"580 Geary Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/hotel-california-san-francisco.html?aid=802549","class":"3","milesFrom":"0.3554055565282529"}, {"id":"56200","name":"Hotel Adagio, a Marriott Autograph Collection","lat":"37.7869","lng":"-122.413","address":"550 Geary Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/adagio.html?aid=802549","class":"4","milesFrom":"0.3554055565282529"}, {"id":"58354","name":"Hotel Majestic","lat":"37.7872","lng":"-122.425","address":"1500 Sutter Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/majestic-san-francisco.html?aid=802549","class":"3","milesFrom":"0.3643782718790701"}, {"id":"182300","name":"Holiday Inn San Francisco - Golden Gateway","lat":"37.7899","lng":"-122.422","address":"1500 Van Ness Avenue","city":"San Francisco","url":"http://www.booking.com/hotel/us/holiday-inn-san-francisco-golden-gateway.html?aid=802549","class":"3","milesFrom":"0.3823883692786609"}, {"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.3882416295100143"}, {"id":"48340","name":"Hotel Monaco San Francisco, a Kimpton Hotel","lat":"37.7868","lng":"-122.412","address":"501 Geary Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/monaco-san-francisco.html?aid=802549","class":"4","milesFrom":"0.4039694522164034"}, {"id":"536648","name":"The Canterbury","lat":"37.7888","lng":"-122.413","address":"750 Sutter Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-canterbury-roamba.html?aid=802549","class":"4","milesFrom":"0.424030478692416"}, {"id":"323505","name":"Wyndham Canterbury at San Francisco","lat":"37.7888","lng":"-122.413","address":"750 Sutter Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/san-francisco-750-sutter-street.html?aid=802549","class":"3","milesFrom":"0.424030478692416"}],"notveryclose" : 40,"quiteclose" : 10,"veryclose" : 2}