Thanks for the tip! I embedded all of the js code (including the api reference) to render the panorama into the popup window's onload tag. In the function call, I just passed the coordinates and the new window renders perfectly!
thanks a bunch!! On Mar 12, 8:57 am, "[email protected]" <[email protected]> wrote: > On Mar 12, 5:44 am, [email protected] wrote: > > > What I attempted previously was to open a popup window with an empty > > <div> tag, create a new GStreetviewPanorama targeting the <div> and > > then use the setLocationAndPOV. The popup window would load with > > an .innerhtml message of "Loading Panorama" and then something? would > > load into the window (since the text would disappear), but the window > > was blank. I've tried all sorts of permutations but no joy. No > > problems loading streetviews into infowindow bubbles or on the same > > page as the GMap2 object, but not in a popup window. > > You probably want to create a complete page, including the API code. > > > > > On Mar 11, 9:50 pm, [email protected] wrote: > > > > You can link to a new (popup) window, passing appropriate parameters > > > to it in the command line: > > > >http://econym.org.uk/gmap/linktothis.htm > > > > e.g. the new page displays thestreetviewfrom lat/lng etc parameters > > > passed in the command line. > > > > Another example is athttp://www.lanerealty.com.au/lr11603.htmlwhere > > > if you click on the Google logo it takes you to a map of the property > > > using a generic map drawing page > > > i.e.http://www.lanerealty.com.au/PropertyMap.html?index=lr11603&lat=-27.9... > > > > I presume you already have the code to displaystreetview, so > > > translating that example to display astreetviewis really just a > > > Javascript problem! ;-)- Hide quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
