Select to view content in your preferred language

JAPI for Gmaps - not loading correctly

573
0
04-27-2010 09:11 AM
SamBishop
Deactivated User
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!

Sample of my problem here:

http://tinyurl.com/234st2s

Can anyone help?  I'm sure there's something simple I'm missing but
i've exhausted possible fixes I've been able to find.

Thanks
0 Kudos
0 Replies