You can use a fly-to speed of SPEED_TELEPORT (or even higher values)
to achieve this effect. Try this:
function initCallback(object) {
ge = object;
ge.getWindow().setVisibility(true);
// use a very fast fly to speed when flying to the start
location
var oldFlyToSpeed = ge.getOptions().getFlyToSpeed();
ge.getOptions().setFlyToSpeed(ge.SPEED_TELEPORT);
var navControl = ge.getNavigationControl();
navControl.setVisibility(ge.VISIBILITY_SHOW);
var la = ge.createLookAt('');
la.set(xxxxx,yyyyy, zz, ....);
ge.getView().setAbstractView(la);
// revert to the old fly to speed
ge.getOptions().setFlyToSpeed(oldFlyToSpeed);
}
- Roman