On Wed, Oct 31, 2007 at 04:27:16PM +0100, Gertjan van Oosten wrote:
> Fellow developers,
> 
> An "interesting" zoombox problem with MapBuilder under MSIE7 and FF2 was
> reported to me.  Reproduce as follows:
> 
> - open e.g. http://demo.communitymapbuilder.org/demo/mapbuilder/
> - draw a zoombox on the map: OK, box is drawn where you put the mouse
>   pointer, map zooms in OK
> - now press Ctrl+ [Control-Plus] a few times (increase the font size)
> - draw a zoombox on the map: not OK, the box is drawn in the wrong place!

Yes. This is a known OpenLayers bug. calling map.updateSize() might
handle it -- alternatively, setting map.events.element.offsets = null;
whenever the font size changes.   

> Here the paths between MSIE7 and FF2 start to differ: in MSIE7 the
> problem is persistent, i.e. the zoombox is drawn in the wrong place
> consistently; 

That's unfortunate. We should see why that is, it shouldn't happen.

in FF2 after the map has been zoomed, subsequent zoomboxes
> are drawn in the right place again.  I guess the difference is that
> MSIE7 also zooms the map image and FF2 does not.

No, the difference is that map.updateSize() isn't being called mousened
in IE, and it should be.

Regards,
-- 
Christopher Schmidt
Web Developer

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel

Reply via email to