AnsweredAssumed Answered

Hidden map becomes currupt after browser resize

Question asked by wartiainen on Jun 3, 2013
Latest reply on Nov 20, 2014 by sumit.zarkar
I have a problem with a hidden map that becomes currupt after the browser is resized.
It works fine up to version 3.2 (, but from 3.3 and above, the hidden map becomes currupt.

I have created a jsFiddle to demonstrate:
Now, here you will see that it is working fine. Hide the map with the hide button, and resize browser, the show map. All good.

Edit the html and put in, run, and do the same thing as above. Then you will see that the map is no longer working. And you will find two errors in the browser debugger:
Error: Invalid negative value for <svg> attribute width="-2"
Error: Invalid negative value for <svg> attribute height="-2"

Any ideas on how to fix this?