Sorry I take that back. I built a vanilla page with no other javascript and it worked fine in IE, as you said.
The Jquery + additional libraries are part of the MailChimp email newsletter signup. On Jun 22, 9:11 pm, bern <[email protected]> wrote: > Thanks Miguel > > I've placed the JS after the map div; I've renamed the div so that it > doesn't clash with the 'map' var; and I've removed all other > javascript (for testing, it's back now) > > However I still could not see the controls > > IE8 gives me the following error: > > Message: Unspecified error. > Line: 26 > Char: 70 > Code: 0 > URI:http://maps.gstatic.com/intl/en_us/mapfiles/api-3/1/5a/main.js > > On Jun 22, 7:52 pm, Miguel Angel Vilela <[email protected]> wrote: > > > > > 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%2B > > > [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.
