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

Roald de Wit rdewit at users.sourceforge.net
Mon Jan 21 00:38:55 EST 2008


Hi,

On Mon, 2008-01-21 at 06:30 +0100, Eric Lemoine wrote:
> 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"?

I can reproduce it in FF2: start drawing the drag-to-zoom-box from
somewhere on the map. Make sure the mouse is over a box when you do a
mouseup: the map will not zoom in.

Furthermore, in this situation: without having your mousedown and
without the shift key pressed, you'll still be able to resize the red
box. OK, now left click somewhere, not over one of the boxes. 

You'll now have a box with a red line and the map doesn't zoom to that
extent. This box will always be visible from now on. Try zooming in and
out!

Regards, Roald

-- 
Roald de Wit
Software Engineer
roald.dewit at lisasoft.com

Commercial Support for Open Source GIS Software
http://lisasoft.com/LISAsoft/SupportedProducts/




More information about the Dev mailing list