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

John R. Frank john.frank at metacarta.com
Mon Jan 21 11:05:54 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.
> >
> > I can't reproduce the problem on
> > <http://www.openlayers.org/dev/examples/boxes-vector.html>. Is it
> > because Chris has changed the example not to use "hover:true"?
>
> Weird. I know I'm using the same browser and platform as John, and I
> can't get it to happen either. I also tried setting hover: true, just
> for yucks, and I can't get it to happen in that case either.


Orientation of drag box matters:

HOW TO DO IT:

	Click above and to the right of a box.

	Shift-click-drag down and the left.

	Release in box.

Chris just did it himself too.

You can reproduce it by dragging very quickly and the cursor disconnects
from the drag-box.

John



More information about the Dev mailing list