var map_data = {"restaurants": [{"id":"1272082","name":"Blue Cave Italian Restaurant","lat":"42.8901","lng":"-78.8695","address":"128 Genesee St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.10275633472173734"}, {"id":"17716","name":"Bacchus Wine Bar & Restaurant","lat":"42.8904","lng":"-78.875","address":"54 West Chippewa","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2214514354055994"}, {"id":"1353232","name":"42N at The Flats","lat":"42.8923","lng":"-78.8726","address":"674 Main St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.23542107321982478"}, {"id":"6976","name":"BUFFALO CHOPHOUSE - PRIME STEAKS & FRESH SEAFOOD","lat":"42.8921","lng":"-78.8754","address":"282 Franklin St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.30418089502354667"}, {"id":"1132906","name":"w xyz bar","lat":"42.8934","lng":"-78.8739","address":"500 Pearl St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3313405606367214"}, {"id":"265810","name":"Patina 250","lat":"42.8911","lng":"-78.877","address":"250 Delaware Avenue","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3336357254785186"}, {"id":"1049395","name":"Patrick's Rooftop","lat":"42.8802","lng":"-78.8787","address":"","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.7280551309672528"}, {"id":"1323154","name":"Southern Tier Brewery Buffalo","lat":"42.877","lng":"-78.8762","address":"7 Scott St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.8765022965555125"}, {"id":"1015159","name":"Hofbrauhaus- Buffalo","lat":"42.876","lng":"-78.8691","address":"190 Scott St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.9102517427556829"}, {"id":"268585","name":"Panorama On Seven","lat":"42.8761","lng":"-78.877","address":"95 Main Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.9482259783334306"}, {"id":"23668","name":"Templeton Landing","lat":"42.8795","lng":"-78.8849","address":"2 Templeton Terrace","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.967024638058255"}],"parking": [{"id":"52773","name":"665 Main St. Lot - P8054","lat":"42.8917","lng":"-78.8715","address":"665 Main St.","city":"Buffalo","milesFrom":"0.18151049747227668"}, {"id":"8003","name":"Pay2Park - Lot #69","lat":"42.8908","lng":"-78.8739","address":"422 Pearl St.","city":"Buffalo","milesFrom":"0.18804781273671223"}, {"id":"8002","name":"Pay2Park - Lot #68","lat":"42.8915","lng":"-78.8738","address":"432 Pearl St.","city":"Buffalo","milesFrom":"0.21813085671870988"}, {"id":"8007","name":"Pay2Park - Lot #74","lat":"42.892","lng":"-78.8736","address":"470 Pearl St.","city":"Buffalo","milesFrom":"0.23953152811130132"}, {"id":"52762","name":"677 Washington St. Lot - P8056","lat":"42.8926","lng":"-78.871","address":"691 Washington St.","city":"Buffalo","milesFrom":"0.2419722866415641"}, {"id":"52760","name":"520 Ellicott St. Lot - P8055","lat":"42.8926","lng":"-78.8699","address":"520 Ellicott St.","city":"Buffalo","milesFrom":"0.24828192601941348"}, {"id":"7862","name":"Pay2Park - Lot #21","lat":"42.8928","lng":"-78.8723","address":"690 Main St.","city":"Buffalo","milesFrom":"0.26397505398434484"}, {"id":"7865","name":"Pay2Park - Lot #22","lat":"42.8823","lng":"-78.8743","address":"301 Washington St.","city":"Buffalo","milesFrom":"0.49847059381406683"}, {"id":"52759","name":"Main & Swan Lot - P8111","lat":"42.8814","lng":"-78.8748","address":"270 Washington St.","city":"Buffalo","milesFrom":"0.5656316231134372"}, {"id":"52758","name":"Main & Seneca Lot - P8002","lat":"42.881","lng":"-78.877","address":"79 Pearl St.","city":"Buffalo","milesFrom":"0.6366501146489285"}, {"id":"52756","name":"Skyway Lot 3 - P8050","lat":"42.8809","lng":"-78.8788","address":"118 Lower Terrace","city":"Buffalo","milesFrom":"0.6904379173592499"}, {"id":"52767","name":"155 Washington St. Lot - P8027","lat":"42.8783","lng":"-78.8755","address":"155 Washington St.","city":"Buffalo","milesFrom":"0.7802398947533414"}, {"id":"52774","name":"Perry Lot - P8048","lat":"42.8759","lng":"-78.871","address":"144-176 Michigan Ave.","city":"Buffalo","milesFrom":"0.9120088363614505"}],"hotels": [{"id":"258825","name":"Comfort Suites Downtown Buffalo","lat":"42.8902","lng":"-78.8722","address":"601 Main Street","city":"Buffalo","url":"http://www.booking.com/hotel/us/comfort-suites-buffalo.html?aid=802549","class":"3","milesFrom":"0.09736555741899011"}, {"id":"263274","name":"Hyatt Regency Buffalo","lat":"42.8885","lng":"-78.8741","address":"2 Fountain Plaza","city":"Buffalo","url":"http://www.booking.com/hotel/us/hyatt-regency-buffalo.html?aid=802549","class":"3","milesFrom":"0.16218470032203489"}, {"id":"531884","name":"Hotel at the Lafayette","lat":"42.8851","lng":"-78.8731","address":"391 Washington Street ","city":"Buffalo","url":"http://www.booking.com/hotel/us/at-the-lafayette.html?aid=802549","class":"4","milesFrom":"0.29595704732197303"}, {"id":"191422","name":"Embassy Suites Buffalo","lat":"42.8896","lng":"-78.8777","address":"200 Delaware Avenue","city":"Buffalo","url":"http://www.booking.com/hotel/us/embassy-suites-buffalo.html?aid=802549","class":"3","milesFrom":"0.3408750627848003"}, {"id":"41976","name":"Hampton Inn & Suites Buffalo/Downtown","lat":"42.8904","lng":"-78.8775","address":"220 Delaware Avenue","city":"Buffalo","url":"http://www.booking.com/hotel/us/hampton-inn-suites-buffalo-downtown.html?aid=802549","class":"4","milesFrom":"0.341131566949301"}, {"id":"181245","name":"The Mansion on Delaware Avenue","lat":"42.8956","lng":"-78.8754","address":"414 Delaware Avenue","city":"Buffalo","url":"http://www.booking.com/hotel/us/the-mansion-on-delaware-avenue.html?aid=802549","class":"4","milesFrom":"0.5012261028861249"}, {"id":"503596","name":"Lofts on Pearl","lat":"42.8815","lng":"-78.8771","address":"92 Pearl Street","city":"Buffalo","url":"http://www.booking.com/hotel/us/lofts-on-pearl.html?aid=802549","class":"3","milesFrom":"0.6090516595727791"}, {"id":"78477","name":"Adam's Mark Buffalo Niagara","lat":"42.8833","lng":"-78.8811","address":"120 Church Street","city":"Buffalo","url":"http://www.booking.com/hotel/us/adam-s-mark-buffalo-niagara.html?aid=802549","class":"3","milesFrom":"0.6496645206927573"}, {"id":"180619","name":"Best Western on the Avenue","lat":"42.8983","lng":"-78.8747","address":"510 Delaware Avenue","city":"Buffalo","url":"http://www.booking.com/hotel/us/best-westren-inn-on-the-avenue.html?aid=802549","class":"3","milesFrom":"0.6627901175614496"}, {"id":"41984","name":"DoubleTree Club by Hilton Buffalo Downtown","lat":"42.8997","lng":"-78.8645","address":"125 High Street","city":"Buffalo","url":"http://www.booking.com/hotel/us/doubletree-club-buffalo-downtown.html?aid=802549","class":"3","milesFrom":"0.8030200942854225"}, {"id":"1041114","name":"Courtyard by Marriott Buffalo Downtown/Canalside","lat":"42.878","lng":"-78.876","address":"One Canalside, 125 Main Street","city":"Buffalo","url":"http://www.booking.com/hotel/us/courtyard-by-marriott-buffalo-downtown-canalside.html?aid=802549","class":"3","milesFrom":"0.8076883103166118"}, {"id":"182423","name":"Holiday Inn Buffalo Downtown","lat":"42.9012","lng":"-78.874","address":"620 Delaware Avenue","city":"Buffalo","url":"http://www.booking.com/hotel/us/holiday-inn-buffalo.html?aid=802549","class":"3","milesFrom":"0.8497608087085299"}],"notveryclose" : 18,"quiteclose" : 5,"veryclose" : 1}