I resolved my window resize issue with a fairly simple solution. For
anyone who cares, or found this by searching, my solution was:

window.onresize = function(){
map.checkResize();
map.panTo(new GLatLng(0,0));}

I originally tried a setCenter but it didn't like that, and the tiles
got out of sync with each other. But this solution is fine, as it is
just to prevent the map dissapearing from the viewable area when a
large window resize occurs. The results can be seen at;

http://artwork.ukmedicalschools.com/testm10.html

If anyone can see any issues with this approach, please tell me.

--

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