On Apr 17, 3:28 pm, raphaeld <[email protected]> wrote:

> http://www.piazzadellarte.be/wtse
>
> I've read about the checkResize fix and Ross told me to set the size
> with gSIze. I tried to use these functions in my code but until now i
> couldn't get it to work.

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()

Currently you are doing map.checkResize() before it's made visible,
which means it fails even in Firefox. The above will set the map to
the size of whatever id is passed.

Andrew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to