On Sep 20, 2:58 pm, Ben <[email protected]> wrote:
> I am unable to see my map in IE 8, and earlier. I am guessing it must
> be a JavaScript reading error somewhere in there. Does anyone have any
> suggestions on how to debug Javascript for IE? I am a beginner, and
> have just been using firebug to get things working.
>
> Link here:http://benhass.com/testing/map/
>
> Thanks in advance, Ben.

There are debuggers for IE.  Or you could just turn on error
reporting:

Line: 138
Error: Expected identifier, string or number

IE doesn't like it when you put extraneous commas at the end of
objects or arrays, like you have here (at the end of your myOptions
anonymous object):

                  var myOptions = {
                          zoom: 6,
                          center: latlng,
                          mapTypeId: google.maps.MapTypeId.TERRAIN,
                          mapTypeControlOptions: {
                        style: google.maps.MapTypeControlStyle.DROPDOWN_MENU
                        },
                  };

  -- Larry

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

Reply via email to