Hi !

Thank you for your help, I succeed :o)
There is just a little think that's not so good : there is a "blink"
effect, because the little orange man appear and disappear quickly,
but we see it at the start...

There is no other listener than "error" ? something more than
"load"...
cause i can't hidde and then make appear the man, as i can only do
something when the "error" exist...

Aurélie

On 16 avr, 17:34, Rossko <[email protected]> wrote:
> > document.getElementById("streetpicto").style.visibility = "visible"
> > -> undefined
>
> But when are you setting that?
> element id='streetpicto' doesn't exist until (a short time) after the
> infowindow open has been executed.
> If you test for it immediately after opening the infowindow, it won't
> yet exist.  If you test for it after some delay, a delay which is
> necessarily built-in to the asynchronous pano checking, it will exist.
>
> So I believe it should exist when the pano-error-handling code is
> executed.
>
> Beware - it mightnotexist if someone very quickly closes the
> infowindow again, so you do need to build in a check to see if it
> existsbeforechanging it. But that's a refinement to add after the
> basic is working.
>
> Note what Larry said about your listener only being triggered if there
> is an error.
>
> --
> 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 
> athttp://groups.google.com/group/google-maps-api?hl=en.

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