I just noticed when I searched the group for information about tours
use kmlLookAt rather than kmlCamera, and the sample code for tours is
for kmlLookAt.
sample code:
http://code.google.com/p/gmaps-samples/source/browse/trunk/earth/gddmc.html
So people don't get confused, here's the (relevant) code for kmlCamera
tours:
function changeCamera(ge, cam, lat, lng, heading, tilt, altitude) {
cam.set(lat, lng, altitude, ge.ALTITUDE_RELATIVE_TO_GROUND, heading,
tilt, 0);
ge.getView().setAbstractView(cam);
}
function initTour() {
ge.getOptions().setFlyToSpeed(1.0);
cam = ge.createCamera('');
setTimeout("changeCamera(ge,cam,19.302856,-99.150419,0,45,10000)",0);
setTimeout("changeCamera(ge,cam,19.435417,-99.202389,0,45,10000)",
11000);
setTimeout("changeCamera(ge,cam,19.387586,-99.253947,270,70,10000)",
22000);
setTimeout("changeCamera(ge,cam,19.424292,-99.175425,0,45,10000)",
33000);
}
This code gives the same tour as the sample but with kmlCamera rather
than kmlLookAt