On 26 August 2010 14:03, Noel Marsh-Giddings <[email protected]> wrote:
>
> On Chrome and Firefox the map shows, however on IE it does not.  I
> have tried all sorts and am really struggling now.
>
> The site is at www.5vansite.com.

This code is wrong:

var myOptions = {
   zoom: 6,
   center: myLatlng,
   mapTypeId: google.maps.MapTypeId.ROADMAP,
   streetViewControl: true,
   scrollwheel: false,
    }
because you have a comma introducing another property in your object.
IE can't cope with empty properties like this: Firefox and Chrome just
ignore them.

The same thing will happen with arrays. IE will choke on
var myArray = [1,2,3,]
because there isn't a fourth element which the comma implies.

You may also need to know that the Version 3 Group is at
http://groups.google.com/group/google-maps-js-api-v3/

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