[OpenLayers-Users] updateSize on div resize

Kevin Kempfer mail at kevinkempfer.de
Sat Jun 9 11:15:58 EDT 2007


Hi,

I dynamically change the size of the map div. Specifically, I try to add 
a sidebar right next to it, making the map div a little less wide. 
Calling map.updateSize() gives no error and the map looks fine, but the 
OverviewMap is not moved to it's new position. As it is located in the 
bottom right corner of the div, it should move to the left, when 
decreasing the  map div's width. Is this by design? Is there a workaround?

Thanks,

Kevin.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3249 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070609/0b31dc39/smime.bin


More information about the Users mailing list