diff --git a/examples/click.html b/examples/click.html index 884a7d1da5..1c19414994 100644 --- a/examples/click.html +++ b/examples/click.html @@ -12,6 +12,36 @@ @@ -44,11 +74,14 @@

- This example shows the use of the register and getLonLatFromViewPortPx functions to trigger events on mouse click. + 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. +