Why does Internet Explorer break “pegman” display in Google Maps API v3?

39 views
Skip to first unread message

ChadT

unread,
May 26, 2010, 2:43:13 AM5/26/10
to Google Maps JavaScript API v3
On my site:
http://www.apoads.com/en/Yokota/Biz/Show/Ruby%20International

The SteetView control, aka "Pegman", works great
under Firefox. Under IE (7 in this case, but tested on 8 as well -
same result) it breaks the display of the pegman control.

The only real difference from my code and the Google example code is
that I use
jQuery's document ready function instead of the body onload event to
initialize my map. Can't imagine that's the cause though (works in v2
of the maps).

Have I found a bug or is there something wrong in my code?

Thanks in advance!

William

unread,
May 26, 2010, 3:15:23 AM5/26/10
to Google Maps JavaScript API v3
On May 26, 4:43 pm, ChadT <chad.thi...@gmail.com> wrote:

> The only real difference from my code and the Google example code is
> that I use
> jQuery's document ready function instead of the body onload event to
> initialize my map.

another difference is that your site has a DOCTYPE and the google
example doesn't have one. I think all the Google examples don't have
a doctype which makes IE run in quirks mode. I tried a copy of your
site without the DOCTYPE and the pegman looks ok.

Also I noticed in IE8 on the Google example the pegman flickers when
mouseover, and the "exit street view" button doesn't seem to work.
http://code.google.com/apis/maps/documentation/javascript/examples/streetview-map.html

Ben Appleton

unread,
May 26, 2010, 3:40:43 AM5/26/10
to google-map...@googlegroups.com
We've fixed those 2 bugs.  The fixes will go live with this week's release.
 
--
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 google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.


ChadT

unread,
May 26, 2010, 3:23:36 AM5/26/10
to Google Maps JavaScript API v3
Hmm, so it's half quirks mode and half that there could be an IE bug
of sorts... interesting, I'll add that to my debugging attempts.
Thanks!

> mouseover, and the "exit street view" button doesn't seem to work.http://code.google.com/apis/maps/documentation/javascript/examples/st...

lionel28

unread,
Jun 1, 2010, 7:27:25 PM6/1/10
to Google Maps JavaScript API v3
Definitely is a bug. I am experiencing same issue both on my site and
on Google with IE 8.0
On my site I have side by side street view and normal view. I set
streetViewControl to true. In FF when you land on page, the pegman
replaces the marker. When you move it, it displays the street view in
the pane next to it.

in IE I got multiple pegmans and none of the controls work and html is
broken.

Same issue if I try a simple setup like the one on google page.
> Also I noticed in IE8 on the Google example thepegmanflickers when
> mouseover, and the "exit street view" button doesn't seem to work.http://code.google.com/apis/maps/documentation/javascript/examples/st...

lionel28

unread,
Jun 4, 2010, 3:36:58 AM6/4/10
to Google Maps JavaScript API v3
Seems to be half fixed. When you activate the pegman, now it displays
multiple arrow in street viw in IE

On May 26, 3:40 am, Ben Appleton <apple...@google.com> wrote:
> On Wed, May 26, 2010 at 5:15 PM, William <william.g...@gmail.com> wrote:
> > On May 26, 4:43 pm, ChadT <chad.thi...@gmail.com> wrote:
>
> > > The only real difference from my code and the Google example code is
> > > that I use
> > > jQuery's document ready function instead of the body onload event to
> > > initialize my map.
>
> > another difference is that your site has a DOCTYPE and the google
> > example doesn't have one.  I think all the Google examples don't have
> > a doctype which makes IE run in quirks mode.  I tried a copy of your
> > site without the DOCTYPE and the pegman looks ok.
>
> > Also I noticed in IE8 on the Google example the pegman flickers when
> > mouseover, and the "exit street view" button doesn't seem to work.
>
> >http://code.google.com/apis/maps/documentation/javascript/examples/st...
>
> We've fixed those 2 bugs.  The fixes will go live with this week's release.
>
> >  --
> > 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
> > google-map...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-maps-js-a...@googlegroups.com<google-maps-js-api-v3%2Bunsu...@googlegroups.com>
> > .
Reply all
Reply to author
Forward
0 new messages