On Mar 23, 8:49 am, Dan Witten <[email protected]> wrote: > ok, first of all, thanks for the help and being so patient. > > It is working in FF, but only after I tweaked my browser settings > (something I'm not sure the regular user would be able to do on their > own....). I just use Firebug as a way to watch styles/dimentions as > the JS is working and to check for JS errors, so that just happened to > be what I used to make sure the height and width did in fact end up > with my specified dimentions. I just checked the element with Chrome > and got the same result (both height and width @ 300px). > > I have not set any width or height dimentions with percentage, so > hopefully that isnt the issue. > > the "checkHeight" function didn't effect it when commented out. > > for definition's sake, what is considered "reported"? > is it decided when you initialize the map?
Yes. You can set it specifically with the "size" option to the GMap2 constructor: http://code.google.com/apis/maps/documentation/reference.html#GMapOptions.size or call checkResize() at anytime to update it: http://code.google.com/apis/maps/documentation/reference.html#GMap2.checkResize > I am initializing the map while it is contained within a hidden element. The > display of its parent node is > set to 'none', but the height and width aren't adjusted at all. That is usually the root cause of problems like this. Try the size optional parameter. > > I will try your code snippet, and hopefully it will give the result > that I'm looking for. I wouldn't expect it to change anything. -- Larry > > Thank you so much again! > > -Dan -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
