I have a map displayed in an absolutely positioned DIV which I can move
about the screen.

When I create an OpenLayers.Control.
SelectFeature control and draw a rectangle by holding down the mouse button
and dragging, it works fine.  If I then move the DIV containing the map, and
try it again the starting position of the rectangle is now relative to the
original position of the DIV.

If I then subsequently resize the browser window, it starts working again.

I have tried experimenting with calling onMapResize() for each layer, but it
makes no difference.

Any ideas?

Cheers,
Richard
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to