I'm seeing strange behaviour in internet explorer 7 when trying to resize the map to accomodate markers.
It works as it should in firefox and safari, but in IE the extend() function seems to give an answer that is far too zoomed out, although only when it is invoked during loading. See http://www.tcd.ie/Maps/map.php?q=Aras%20an%20Phiarsaigh The code seems pretty foolproof.. var boundscheck=map.getBounds(); if (!boundscheck.contains(this.pos)) { boundscheck.extend(this.pos); var newzoom = map.getBoundsZoomLevel(boundscheck); if (newzoom<15) map.setMapType(G_NORMAL_MAP); map.setZoom(newzoom); map.setCenter(boundscheck.getCenter()); } Is there any known workaround other than writing my own extend() function? Tim Redfern --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
