[OpenLayers-Dev] SelectFeature conflicting with drag-to-zoom rectangle?

John R. Frank john.frank at metacarta.com
Sun Jan 20 12:30:48 EST 2008


In this example,

http://www.openlayers.org/dev/examples/boxes-vector.html

one can cause a zoom rectangle to freeze in place and not zoom by
attempting to release the zoom rectangle over one of the boxes.

This problem goes away if the Control.SelectFeature is removed.

This problem also happens in v2.5 (with toGeometry implemented
separately).

Any advice on how to fix it?  The docs for SelectFeature 'hover' say that
it catches unhover events.  Is there something else to set for catching
unclick?

I'm sure this can be fixed in trunk;  is there a work around for v2.5?

Thanks,
John



More information about the Dev mailing list