[OpenLayers-Dev] Popup window with embedding Google street view?

xintao.liu xintaoliu at hotmail.com
Tue Apr 6 06:20:44 EDT 2010

Hi, thanks for your kind reply and the online example. It's really

If you take a look at this picture,  http://fromto.hig.se/~bjg/ggstview.jpg
http://fromto.hig.se/~bjg/ggstview.jpg , when you drah the pegman on google
map and pause for 1 second, a popup windw will show up, which is a embedded
street view. 

My question is, is it possible to embed google streeet view in OpenLayers
popup window? I have tried many methods, but all failed. 

Below is the Javascripe code:

var myPano = new GStreetviewPanorama(document.getElementById("popmap"));
var fenwayPark = new GLatLng(42.345573, -71.098326);
var fenwayPOV = { yaw: 370.64659986187695, pitch: -20 };
myPano.setLocationAndPOV(fenwayPark, fenwayPOV);
popup = new OpenLayers.Popup.FramedCloud("chicken", pLonLat, null,
document.getElementById("popmap").innerHTML, null, true, onPopupClose);

View this message in context: http://n2.nabble.com/Popup-window-with-embedding-Google-street-view-tp4853224p4858191.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.

More information about the Dev mailing list