[OpenLayers-Users] Managing mouse events

Jeff Yutzler jeff.yutzler at ionicenterprise.com
Mon Jun 11 11:40:46 EDT 2007


As I try to get more complex with my user interface, I find the event 
model very frustrating.  Here is a simple out-of-the box example.

    * http://www.openlayers.org/dev/examples/controls.html
    * User activates the ZoomBox tool on the lower left. 
    * User clicks on the + in the lower right to activate the overview map.

Expected behavior:
Overview map opens

Actual behavior:
Overview map opens AND map zooms in to a location.

I would post this as a defect, but it seems to be a more philosophical 
issue.  What is the correct way to manage these mouse clicks so that the 
developer has complete control over when to let them bleed through and 
when to suppress them?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jeff.yutzler.vcf
Type: text/x-vcard
Size: 331 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070611/a6192a2f/jeff.yutzler.vcf


More information about the Users mailing list