var map_data = {"restaurants": [{"id":"117721","name":"Izakaya Kou","lat":"37.7841","lng":"-122.433","address":"1560 Fillmore Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.023132345345431113"}, {"id":"186034","name":"Pa'ina Restaurant and Bar","lat":"37.7849","lng":"-122.432","address":"1865 Post St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.06593910366629807"}, {"id":"174301","name":"Gardenias","lat":"37.786","lng":"-122.433","address":"1963 Sutter Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.13193394754296528"}, {"id":"86974","name":"Benihana - San Francisco","lat":"37.7855","lng":"-122.43","address":"1737 Post Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.17470029626701153"}, {"id":"16609","name":"1300 on Fillmore","lat":"37.7816","lng":"-122.432","address":"1300 Fillmore Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.18022914559164835"}, {"id":"35182","name":"OTD (aka Out the Door - Bush St.)","lat":"37.7872","lng":"-122.434","address":"2232 Bush Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.22338254147158837"}, {"id":"35785","name":"SPQR","lat":"37.7874","lng":"-122.434","address":"1911 Fillmore Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.23190581641450564"}, {"id":"3377","name":"Florio","lat":"37.7875","lng":"-122.434","address":"1915 Fillmore Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.24016256997216734"}, {"id":"151789","name":"Seoul Garden","lat":"37.7857","lng":"-122.429","address":"1655 Post Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.24210776070910034"}, {"id":"5343","name":"Elite Cafe","lat":"37.7886","lng":"-122.434","address":"2049 Fillmore St @ California","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.31477958044448723"}, {"id":"51685","name":"Curbside Cafe","lat":"37.7889","lng":"-122.434","address":"2417 California Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.33409004416272303"}, {"id":"10870","name":"Fresca - Fillmore","lat":"37.7893","lng":"-122.434","address":"2114 Fillmore St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.36476192931403767"}, {"id":"92251","name":"Troya","lat":"37.7894","lng":"-122.434","address":"2125 Fillmore Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.37367281592954404"}, {"id":"160675","name":"Octavia","lat":"37.788","lng":"-122.427","address":"1701 Octavia Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.4175537859504045"}, {"id":"37627","name":"Cafe Majestic","lat":"37.7872","lng":"-122.425","address":"1500 Sutter Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.46701374202484747"}, {"id":"5880","name":"Alamo Square Seafood Grill","lat":"37.777","lng":"-122.431","address":"803 Fillmore St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.5012913617036265"}, {"id":"97342","name":"Food Inc. Trattoria & Wine Bar","lat":"37.7883","lng":"-122.441","address":"2800 California Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.5147932835781814"}, {"id":"4127","name":"Chouquet's","lat":"37.7918","lng":"-122.435","address":"2500 Washington Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.5393244666558517"}, {"id":"28873","name":"Tsunami - Panhandle","lat":"37.7768","lng":"-122.439","address":"1306 Fulton Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.5873256150839871"}, {"id":"15406","name":"Jackson Fillmore Trattoria","lat":"37.7927","lng":"-122.434","address":"2506 Fillmore St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.5988045379213064"}],"parking": [{"id":"3751","name":"Ace Parking","lat":"37.782","lng":"-122.421","address":"711 Van Ness Ave.","city":"San Francisco","milesFrom":"0.6712233406126716"}, {"id":"2270","name":"Ace Parking","lat":"37.7915","lng":"-122.422","address":"1776 Sacramento St.","city":"San Francisco","milesFrom":"0.7889240372017834"}, {"id":"5485","name":"Express Parking","lat":"37.7913","lng":"-122.421","address":"1725 Sacramento St.","city":"San Francisco","milesFrom":"0.8228768305805668"}, {"id":"5420","name":"California Parking","lat":"37.7824","lng":"-122.418","address":"530 Turk St.","city":"San Francisco","milesFrom":"0.827512441504462"}],"hotels": [{"id":"56986","name":"Hotel Tomo","lat":"37.7866","lng":"-122.43","address":"1800 Sutter Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/best-western-tomo.html?aid=802549","class":"3","milesFrom":"0.23794357934675445"}, {"id":"56179","name":"Hotel Kabuki, a Joie de Vivre Hotel","lat":"37.7856","lng":"-122.429","address":"1625 Post Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/miyako.html?aid=802549","class":"3","milesFrom":"0.24164571762442189"}, {"id":"57754","name":"Queen Anne","lat":"37.7871","lng":"-122.427","address":"1590 Sutter Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-queen-ann.html?aid=802549","class":"3","milesFrom":"0.38764600951963135"}, {"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.4863805527940231"}, {"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.5304847400767984"}, {"id":"55942","name":"Jackson Court","lat":"37.7931","lng":"-122.431","address":"2198 Jackson Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/jackson-court.html?aid=802549","class":"3","milesFrom":"0.631308010810181"}, {"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.6624660817158413"}, {"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.7222569655289154"}, {"id":"181659","name":"Monte Cristo","lat":"37.7862","lng":"-122.446","address":"600 Presidio Avenue","city":"San Francisco","url":"http://www.booking.com/hotel/us/monte-cristo-bed-and-breakfast.html?aid=802549","class":"3","milesFrom":"0.724644339423835"}, {"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.772474590890072"}, {"id":"183175","name":"Hotel Drisco","lat":"37.7922","lng":"-122.443","address":"2901 Pacific Avenue","city":"San Francisco","url":"http://www.booking.com/hotel/us/drisco.html?aid=802549","class":"4","milesFrom":"0.7819593086604696"}, {"id":"183243","name":"Laurel Inn, a Joie de Vivre Hotel","lat":"37.7876","lng":"-122.447","address":"444 Presidio Avenue","city":"San Francisco","url":"http://www.booking.com/hotel/us/laurel-inn.html?aid=802549","class":"3","milesFrom":"0.8018913000725004"}, {"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.8191099774116325"}, {"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.860133551098802"}, {"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.8737158251509554"}, {"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.9296971868294339"}, {"id":"55851","name":"Nob Hill Motor Inn","lat":"37.795","lng":"-122.422","address":"1630 Pacific Avenue","city":"San Francisco","url":"http://www.booking.com/hotel/us/nob-hill-motor-inn.html?aid=802549","class":"3","milesFrom":"0.9633308290885272"}, {"id":"55897","name":"Castle Inn","lat":"37.7957","lng":"-122.423","address":"1565 Broadway","city":"San Francisco","url":"http://www.booking.com/hotel/us/castle-inn.html?aid=802549","class":"3","milesFrom":"0.9699532060065212"}, {"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.9746174182286643"}, {"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.9768095201536635"}],"notveryclose" : 16,"quiteclose" : 5,"veryclose" : 2}