![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: May 2007
Location: Milan, Genoa (Italy)
Posts: 112
![]() |
Thanks to your suggestions of some weeks ago, now I'm able to control the view of my canvas. :-) Also with smooth animations. :-))
Now the question is: what are the proper values for the zoom parameter? I need to fit the view so a certain geographic sector is shown; I had initially wrote down some maths for computing the elevation of the camera, and that worked decently; but I see that the FlyToOrbitViewStateIterator only accepts a 'zoom' parameter. Now, after a few tries, it looks like my maths for the elevation works fine with the zoom too :-)) Is the zoom just an alias for the elevation?
__________________
-- Fabrizio Giudici, Ph.D. - Java Architect, Project Manager Tidalwave s.a.s. - "We make Java work. Everywhere." weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog Fabrizio.Giudici@tidalwave.it - mobile: +39 348.150.6941 |
|
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|