I took your JS and put it right after a div with id "map" and the scale and navigation control show fine in IE8:
<html> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <title>Google Maps JavaScript API v3 Example: Map Simple</title> <script type="text/javascript" src=" http://maps.google.com/maps/api/js?sensor=false"></script> </head> <body style="margin:0px; padding:0px;"> <div id="map" style="width:100%; height:100%"></div> <script type="text/javascript"> /* your code here, unchanged */ </script> </body> </html> So there is no problem with the maps-specific JS itself, but it you have much more JS code in that page and they don't seem to play well together. On Tue, Jun 22, 2010 at 11:26, bern <[email protected]> wrote: > Map controls (zoom, scale) are showing fine on this page in FF, Chrome > & Safari: > http://bit.ly/dnKawU > > But not in IE7 (on Windows XP) or IE8 (Windows 7) ... although the > markers come up fine. > > I've copied & pasted some code (monkey see monkey do) so my > understanding is limited. I've looked for errant commas. However I > noticed a few posts when Googling relating to issues IE7 & 8 in 2009. > So thought I'd ask the group. > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-maps-js-api-v3%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
