Opened 8 years ago

#2057 new bug

IE 7: dynamic map size leeds to an endless loop

Reported by: matthiasdrews Owned by:
Priority: major Milestone: 2.13 Release
Component: Map Version: 2.7
Keywords: Cc:


There is a problem in IE 7, when the main map has a dynamic size, and at the same time the application contains an overview map.

In my application, I have a container div for the main map, which has no fix size, but is positioned within the website by css-attributes left, top, right and bottom. The map div fills 100% of this container div. Whenever the browser window is resized, the method updateSize in the main map is called, which leads to a call of updateSize in the overview map. It seems that at this point, somewhere in the getCurrentSize-method, new browser events are fired, and updateSize in the main map is called again - the application runs into an endless loop.

The problem is not there in Firefox 3. Also in IE 7, without the overview map, the application is ok.

I fixed the problem for me by changing the order of the if-clauses in the getCurrentSize-method of the overview map (see attachment).

Attachments (1)

getCurrentSize.txt (645 bytes) - added by matthiasdrews 8 years ago.

Download all attachments as: .zip

Change History (1)

Changed 8 years ago by matthiasdrews

Note: See TracTickets for help on using tickets.