You can probably just use the setZoom() of the BasicOrbitView to the same effect.
setZoom sets eyeDist but not altitude, so depending on when I try to set the initial zoom of my display it gets reinitialized back to the default altitude which is way out in space.
To be a little more clear, I create my WorldWindow in a tab that isn't visible until clicked on. The View doesn't end up getting initialized until the first time it's painted and BasicOrbitView.initializeAttributes will set eyeDist to whatever getInitialAltitude returns. setZoom would probably work fine if the WorldWindow was visible when it is created because the timing would work right. As is, I'd have to do a FocusListener or something to reset the zoom once the window become visible. I think setAltitude makes more sense though.
Last edited by remleduff; 07-10-2007 at 06:04 PM.