PDA

View Full Version : Panorama control from Google map


viktor-y
02-18-2008, 02:28 PM
Hi there

I've seen an external javascript code at Denis' blog site

function showPhotos() {
if (!checkPano20()) return;
window.document.movie20.livePanoExecute("pano.qualityStatic=low;pano.pan=-55,4000,elastic;pano.tilt=-30,2100,elastic;pano.zoom=1,2000,elastic,restoreQu ality;")
}


Is it possible to change the panoramas with a code something like this?


function loadPano1() {
if (!checkPano()) return;
window.document.movie.livePanoExecute("loadPano(pano.swf?panoName=pano1&panHome=-105&tiltHome=10&zoomHome=0.67,100,fade)")
}


Are there any chance to run this from an info box of the google map?
That would be really nice.
Are there anybody who tried to do something similar?
Any advice is appreciated.
Thx