Just messing around with your code, I tried removing the divs from line 191-195 and the advanced map opened full size in the new window. Not sure if those divs will be necessary in your map later on, but hopefully it at least gives you an idea of where to start!
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.