var map_data = {"restaurants": [{"id":"190924","name":"EatWith","lat":"37.7786","lng":"-122.392","address":"188 King Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.04673802151210057"}, {"id":"37594","name":"Saison","lat":"37.7795","lng":"-122.392","address":"178 Townsend St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.09988675932215535"}, {"id":"3594","name":"MoMo's","lat":"37.7799","lng":"-122.39","address":"760 2nd St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.10828502603591161"}, {"id":"116029","name":"District - San Francisco","lat":"37.7786","lng":"-122.393","address":"216 Townsend Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.12768388390694904"}, {"id":"4959","name":"Tres - SF (fka Tres Agaves)","lat":"37.7804","lng":"-122.392","address":"130 Townsend St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.14412020144876134"}, {"id":"8052","name":"Paragon Restaurant & Bar - San Francisco","lat":"37.7806","lng":"-122.391","address":"701 Second Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.15549851196226433"}, {"id":"49783","name":"25 Lusk","lat":"37.7785","lng":"-122.394","address":"25 Lusk Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.18096445550835644"}, {"id":"3561","name":"Koh Samui & The Monkey","lat":"37.7796","lng":"-122.395","address":"415 Brannan St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.20943472707130442"}, {"id":"28876","name":"Tsunami - Mission Bay","lat":"37.7762","lng":"-122.394","address":"301 King Street #B","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2226265184897801"}, {"id":"681","name":"Alexander's Steakhouse - SF","lat":"37.7791","lng":"-122.396","address":"448 Brannan Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2520571501094342"}, {"id":"5641","name":"South Park Cafe","lat":"37.7817","lng":"-122.394","address":"108 South Park","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2946368816799022"}, {"id":"15424","name":"Marlowe","lat":"37.7783","lng":"-122.397","address":"500 Brannan St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3221965688929022"}, {"id":"3128","name":"Fringale","lat":"37.7788","lng":"-122.397","address":"570 4th Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.332237058557083"}, {"id":"33421","name":"La Briciola","lat":"37.7815","lng":"-122.396","address":"489 Third Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3514163653032359"}, {"id":"185923","name":"Caputo","lat":"37.7846","lng":"-122.389","address":"100 Brannan Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.4473912621941123"}, {"id":"109618","name":"Red Dog","lat":"37.7853","lng":"-122.396","address":"303 Second Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.5377259962300163"}, {"id":"145399","name":"Osha Thai 3rd Street","lat":"37.7837","lng":"-122.398","address":"311 Third Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.5432131154747332"}, {"id":"3250","name":"The Fly Trap","lat":"37.7855","lng":"-122.397","address":"606 Folsom Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.5957296362065094"}, {"id":"18424","name":"Local Kitchen & Wine Merchant","lat":"37.7868","lng":"-122.394","address":"330 First Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.6054549045765467"}, {"id":"1913","name":"LuLu","lat":"37.7818","lng":"-122.402","address":"816 Folsom St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.6369530413906563"}],"parking": [{"id":"2289","name":"Townsend Garage","lat":"37.7795","lng":"-122.392","address":"153 Townsend St.","city":"San Francisco","milesFrom":"0.09349923818999814"}, {"id":"4856","name":"Priority Parking","lat":"37.7797","lng":"-122.392","address":"148 Townsend St.","city":"San Francisco","milesFrom":"0.10515835649471736"}, {"id":"4854","name":"Priority Parking","lat":"37.7806","lng":"-122.392","address":"69 Stanford St.","city":"San Francisco","milesFrom":"0.16158732749676616"}, {"id":"2599","name":"AT&T Park - Lot D","lat":"37.775","lng":"-122.391","address":"1000 3rd St.","city":"San Francisco","milesFrom":"0.23485545468151806"}, {"id":"2598","name":"AT&T Park - Lot A","lat":"37.7749","lng":"-122.389","address":"74 Mission Rock St.","city":"San Francisco","milesFrom":"0.26545941579529353"}, {"id":"3598","name":"California Parking","lat":"37.7788","lng":"-122.396","address":"470 Brannan St.","city":"San Francisco","milesFrom":"0.2747323771218005"}, {"id":"5284","name":"Tower Valet Parking, Inc","lat":"37.7779","lng":"-122.397","address":"501 Brannan St.","city":"San Francisco","milesFrom":"0.3297333377444932"}, {"id":"5062","name":"Tower Valet Parking, Inc","lat":"37.7773","lng":"-122.398","address":"588 Brannan St.","city":"San Francisco","milesFrom":"0.38996602442573675"}, {"id":"4845","name":"Priority Parking","lat":"37.7809","lng":"-122.399","address":"777 Harrison St.","city":"San Francisco","milesFrom":"0.46994265895512904"}, {"id":"4735","name":"Priority Parking","lat":"37.7844","lng":"-122.396","address":"350 2nd St.","city":"San Francisco","milesFrom":"0.4966055751364816"}, {"id":"5077","name":"Marriott Courtyard Downtown","lat":"37.7859","lng":"-122.397","address":"299 2nd St","city":"San Francisco","milesFrom":"0.6132394015211747"}, {"id":"2601","name":"AT&T Park - Pier 30","lat":"37.7864","lng":"-122.386","address":"30 Pier","city":"San Francisco","milesFrom":"0.6164404359127472"}, {"id":"4000","name":"Ace Parking","lat":"37.7855","lng":"-122.399","address":"55 Hawthorne St.","city":"San Francisco","milesFrom":"0.6570010225686903"}, {"id":"4018","name":"California Parking","lat":"37.7757","lng":"-122.403","address":"801 Bryant St.","city":"San Francisco","milesFrom":"0.6814838180150634"}, {"id":"4853","name":"Priority Parking","lat":"37.7867","lng":"-122.398","address":"201 2nd St.","city":"San Francisco","milesFrom":"0.689396637008206"}, {"id":"2288","name":"Ace Parking","lat":"37.7881","lng":"-122.395","address":"234 1st St.","city":"San Francisco","milesFrom":"0.7049583064504937"}, {"id":"4702","name":"AT&T Park - Lot E","lat":"37.7686","lng":"-122.387","address":"455 South St.","city":"San Francisco","milesFrom":"0.7114866260417502"}, {"id":"4703","name":"Impark","lat":"37.7881","lng":"-122.396","address":"505 Howard St.","city":"San Francisco","milesFrom":"0.7238817298096544"}, {"id":"4003","name":"Ace Parking","lat":"37.7818","lng":"-122.404","address":"322 Tehama St.","city":"San Francisco","milesFrom":"0.7478247580539953"}, {"id":"4852","name":"85 Second St Garage","lat":"37.7884","lng":"-122.399","address":"588 Mission St.","city":"San Francisco","milesFrom":"0.8175000799998033"}],"hotels": [{"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.6132394015211747"}, {"id":"1138346","name":"South Beach Suites","lat":"37.7874","lng":"-122.393","address":"333 Fremont Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/south-beach-condos.html?aid=802549","class":"4","milesFrom":"0.6313094662897226"}, {"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.689684228310244"}, {"id":"46083","name":"Bay Bridge Inn San Francisco","lat":"37.778","lng":"-122.404","address":"966 Harrison Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/bay-bridge-inn-san-fransisco.html?aid=802549","class":"3","milesFrom":"0.7105467521809907"}, {"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.7546220023216179"}, {"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.7979107336202004"}, {"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.8709220082229495"}, {"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.8902161227519425"}, {"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.893745572458005"}, {"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.9103972302019786"}, {"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.9297604975564914"}, {"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.936987450755442"}, {"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.9512772351495719"}, {"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.9515221484519618"}, {"id":"180764","name":"Harbor Court, a Kimpton Hotel","lat":"37.7926","lng":"-122.392","address":"165 Steuart Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/harbor-court.html?aid=802549","class":"4","milesFrom":"0.9825854405979372"}, {"id":"56920","name":"Hotel Griffon","lat":"37.7928","lng":"-122.392","address":"155 Steuart Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/griffon-san-francisco.html?aid=802549","class":"3","milesFrom":"0.9965342483176022"}, {"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":"1.0209779133495611"}, {"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":"1.0282845994188996"}, {"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":"1.0467483342781574"}, {"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":"1.059819162763221"}],"notveryclose" : 22,"quiteclose" : 10,"veryclose" : 3}