I'm using dijit bordercontainers / contentpanes to form the layout of my page. The contentpane holding my mapdiv is 'dynamically' sized i.e. I am not able to assign it a height or width (although I have attempted both to try to get it to work!).
The issue I am having is onload - not having a width/height means the gmap will not load into the div correctly. Resize the window and hey presto the div gets a width/height and all is good. But obviously I want it to work from the off!