On Dec 22, 5:06 am, Hep <[email protected]> wrote:
> I get these error messages when I run the IE8 debugger:
>
>  Object doesn't support this property or method:
>         map = new google.maps.Map(document.getElementById("map"),
>       mapOptions);

IE "automagically" creates javascript variables with the same names as
your div ids.  Unless you specify "var map" in the global context, you
will have problems (that tells IE not to do that).

>
> map.mapTypes' is null or not an object:
>         map.mapTypes.set('PeterStyle', PetersMapType);
>
> Object doesn't support this property or method:
>         map.setMapTypeId('PeterStyle');
>
> map.controls' is null or not an object:
>
> map.controls[google.maps.ControlPosition.RIGHT_TOP].push(homeControlDiv)
>
> I cannot see any problems with the code.
> Any help or suggestions would be greatly appreciated.

Don't see any of those on your map.  Have you uploaded the version
with those issues?


  -- Larry

>
> Kind regards
> Rune
>
> On 21 Dec., 15:51, "[email protected]" <[email protected]>
> wrote:
>
>
>
> > On Dec 21, 1:48 am, Hep <[email protected]> wrote:
>
> > > Hi. I have made this piece of code, and it works fine safari, chrome
> > > and FF. But not in IE 8.
> > > It just wont show the map in IE.
>
> > > You can see the page (and the code) athttp://ukiyo.dk/police_map.htm
> > > Is there anyone who knows what the problem is?
>
> > IE doesn't like your xml:http://ukiyo.dk/output.xml
> > (try opening it in the browser)
>
> >   -- Larry- Hide quoted text -
>
> - Show quoted text -

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