Sunday, September 12, 2010

hide() call on GStreetviewPanorama not hiding Street View

Hello,

I'm pretty sure I'm missing something fairly simple.

I have a basic Google Street Viewer that I am trying to hide, however
- when I call hide() it does not remove it. It does, however, change
the isHidden attribute to true.

Please see implementation of street view below:

var coordinates = new GLatLng(42.345573,-71.098326);
svOptions = { latlng: coordinates };
SV = new GStreetviewPanorama(document.getElementById("street_view"),
svOptions);
SV.hide();

What am I missing? I don't think I should be hiding the div as well
when I call hide() - that would just be redundant.

Thanks,

--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate