var map_data = {"hotels": [{"id":"321431","name":"Buffalo Marriott Niagara","lat":"42.9882","lng":"-78.7922","address":"1340 Millersport Highway ","city":"Amherst","url":"http://www.booking.com/hotel/us/amherst-1340-millersport-highway.html?aid=802549","class":"4","milesFrom":"0.05004197154709283"}, {"id":"74916","name":"Comfort Inn University","lat":"42.9906","lng":"-78.7911","address":"1 Flint Road","city":"Amherst","url":"http://www.booking.com/hotel/us/comfort-inn-university.html?aid=802549","class":"3","milesFrom":"0.1868882779934518"}, {"id":"403159","name":"DoubleTree by Hilton Buffalo-Amherst","lat":"42.9898","lng":"-78.7942","address":"10 Flint Road","city":"Amherst","url":"http://www.booking.com/hotel/us/doubletree-by-hilton-buffalo-amherst.html?aid=802549","class":"3","milesFrom":"0.19673183232470376"}, {"id":"41974","name":"Homewood Suites by Hilton Buffalo-Amherst","lat":"42.9834","lng":"-78.7962","address":"1138 Millersport Highway","city":"Amherst","url":"http://www.booking.com/hotel/us/homewood-suites-by-hilton-r-buffalo-amherst.html?aid=802549","class":"3","milesFrom":"0.3977790527659484"}, {"id":"266914","name":"Residence Inn Buffalo Amherst","lat":"42.9916","lng":"-78.7841","address":"100 Maple Road","city":"Amherst","url":"http://www.booking.com/hotel/us/residence-inn-buffalo-amherst.html?aid=802549","class":"3","milesFrom":"0.4445237410462172"}, {"id":"79674","name":"Buffalo/Amherst Courtyard by Marriott","lat":"42.9796","lng":"-78.7822","address":"4100 Sheridan Drive","city":"Amherst","url":"http://www.booking.com/hotel/us/buffalo-amherst-courtyard-by-marriott.html?aid=802549","class":"3","milesFrom":"0.73504880907867"}, {"id":"772798","name":"Staybridge Suites Buffalo-Amherst","lat":"42.9966","lng":"-78.7999","address":"1290 Sweet Home Road","city":"Amherst","url":"http://www.booking.com/hotel/us/staybridge-suites-buffalo-amherst.html?aid=802549","class":"3","milesFrom":"0.7418494900655777"}],"notveryclose" : 4,"quiteclose" : 3,"veryclose" : 1}