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:
parent
c0d2ad40c3
commit
a03c584a98
2 changed files with 6 additions and 4 deletions
|
@ -103,9 +103,10 @@
|
|||
|
||||
resizeMap();
|
||||
}
|
||||
|
||||
window.onresize = handleResize;
|
||||
|
||||
handleResize();
|
||||
|
||||
window.onload = handleResize;
|
||||
window.onresize = handleResize;
|
||||
</script>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue