If I write the following code: --- var resizeTimeoutId; function schedulePageResize() { clearTimeout(resizeTimeoutId); resizeTimeoutId = setTimeout('doPageResize();', 10); } function doPageResize() { //Refresh map (sometimes needs this to reposition map correctly) //OpenLayers-2.12 needs this to reposition vector data correctly myMapObj = this.document.getElementById('myMap'); if (map != null) map.render(myMapObj); } ---
and call it on the body "onresize" event handler the container is split in two (in the latest version of open layers - 2.13). Why? I attach the html file that causes this issue. page.html <http://osgeo-org.1560.x6.nabble.com/file/n5064681/page.html> -- View this message in context: http://osgeo-org.1560.x6.nabble.com/OpenLayers-Map-render-possible-bug-tp5064681.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users