You set width and height =0, ie 100% width and height
I wrote many times, if you set height 100% you need to manage not collapse map div. For example, I added full screen template into extension (it hasn't nested divs therefore I set 100% height there is no collapsed - map is shown)
By default it will be collapsed due to there is no content.
Set map height.
Check my forum for full screen problems.