Hi Andrew,

Glad that you trust me: I'll follow your request and post exhibiting
pages for next issues

On Jan 17, 1:53 pm, "warden [Andrew Leach - Maps API Guru]"
<[email protected]> wrote:
> On Jan 17, 7:08 am, Didier DURAND <[email protected]> wrote:
>
>
>
> > I have an issue with the response of the method isHidden() of  the
> > object  GStreetviewPanorama: it returns false after the object has
> > been removed (through its remove() method) if the object was visible
> > before.
>
> > I strongly believe that isHidden should return true after a remove
> > whatever the visiblity status of object was before.
>
> > Do you agree with my statement of incorrectness for isHidden() in that
> > case?
>
> I don't agree. If you've removed something, then yes it's not visible,
> but that's not the same as hiding. The current implementation isn't
> ideal, but since the state of something which is removed is moot
> anyway, picking up its state prior to removal might be a reasonable
> thing to do.
>
> A better result in this case would be for isHidden to be undefined; an
> even better result would be for the streetview object not to exist
> once it's removed, so that "streetview.isHidden()" cannot be called at
> all.
>
> If you have a problem like this, then you *must* upload a
> demonstrator, not post code. My statements here are based on trusting
> that you're right; I haven't tried it.
>
> Andrew
--~--~---------~--~----~------------~-------~--~----~
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