Click Event Example
click control, double, doubleclick, double-click, event, events,
propagation
This example shows the use of the click handler and
getLonLatFromViewPortPx functions to trigger events on mouse click.
Using the Click handler allows you to (for example) catch clicks
without catching double clicks, something that standard browser
events don't do for you. (Try double clicking: you'll zoom in,
whereas using the browser click event, you would just get two
alerts.) This example click control shows you how to use it.