The attached code displays a Map with markers that you can click on to get more information. This code works but I'm trying to find the best way to make sure that when the user clicks on a marker that I interpret the click correctly as there may be a couple of markers close together. Currently I am dividing the extent height by 100 in order to calculate my hit area. This doesn't seem like the best way. Also, going through all of the JSON data to find a match isn't great either. Is there some way to associate a marker with some data and then handle the event when the marker is clicked on?