Resize the map div when the page load is complete (via onload) in case the

page layout has changed since the initial sizing by the deferred script.
This commit is contained in:
Tom Hughes 2008-03-07 00:26:57 +00:00
parent c0d2ad40c3
commit a03c584a98
2 changed files with 6 additions and 4 deletions

View file

@ -103,9 +103,10 @@
resizeMap();
}
window.onresize = handleResize;
handleResize();
window.onload = handleResize;
window.onresize = handleResize;
</script>
<% end %>