First I have read about and tried various solutions presented here.
I have multiple maps (3) in separate hidden divisions (display:none)
on a page. The divs are fixed widths and heights, and I have set the
size parameter. In IE the maps are not centering properly (center
point off the upper left hand corner of the map.)
I have tried map.checkResize(), although I am not sure that I have
implemented it correctly - I added it to the JQuery function that
toggles the hidden divs.
I tried this solution from andrew...
GSize should work. How about changing this:
var map = new GMap2(document.getElementById(map));
into
var mapElem = document.getElementById(map);
var mapWidth = mapElem.style.width;
var mapHeight = mapElem.style.height;
var map = new GMap2(mapElem,{size:new GSize(mapWidth,mapHeight)});
and removing checkResize()
...this did not work. The maps did not appear at all.
Here is the link to my page (still in development, so its ugly)
http://valusage.com/ad2
Any help would be appreciated.
--
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.