Yep. My question is also not about flash.

This is how you create street view object.

var svobj = new google.maps.StreetviewPanorama(document.getElementById
("pano"));
svobj.setLocationAndPOV(latlng);

In my situation, StreetviewPanorama is only visible in Page B (the one
in iframe)
and <div id="pano"> is in Page A.

So.. i have to write: var svobj = new google.maps.StreetviewPanorama
(window.parent.document.getElementById("pano"));

I suspect "StreetviewPanorama" or "setLocationAndPOV" doesn't like
"window.parent".


On Aug 3, 3:26 pm, Mike Williams <[email protected]> wrote:
> This is the Javascript group. No Flash here.
>
> --
> Mike Williamshttp://econym.org.uk/gmap
--~--~---------~--~----~------------~-------~--~----~
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