NCG/i2maps — pull request #14 by ccoffey (2011-11-17 17:37:57+00:00)
Title: A succinct way of handling map level click events.

You can now do the following.

map.click_function = function(lon, lat, x, y)
{
alert("You single clicked: (" + x + ", " + y + ")");
}

map.dblclick_function = function(lon, lat, x, y)
{
alert("You double clicked: (" + x + ", " + y + ")");
}