World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Development Help

Development Help Help for building applications or diagnosing problems with WWJ

Reply
 
Thread Tools Display Modes
Old 08-29-2007, 04:40 AM   #1
hikme
Junior Member
 
Join Date: Aug 2007
Posts: 2
hikme is on a distinguished road
Default How to compute Distance from pixel size

I can compute the pixel size at a distance from the View.
pixelScale = view.computePixelSizeAtDistance(view.com puteHorizonDistance());
I can display the pixel size just calculated as my scale when the zoom value change i compute the new pixel size(Scale). Is their a way i can compute the distance for a given pixel size. Allow the user to change pixel size (scale) then i compute the distance and change the zoom to display the globe at the new scale(pixel size).
Thanks
hikme is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to go to a pixel size hikme Technical Support 0 08-28-2007 11:43 PM
Scaling Icons by distance from surface dwilhelmCSC Developers' Corner 3 06-06-2007 08:41 PM
Tilt View: Add Distance movement in the Interface canosso Suggestion Box 0 08-23-2005 04:04 PM
WorldCamera.cs: Remove distance for tilted view? canosso Developers' Corner 4 08-20-2005 11:51 PM
Pixel size vassx Developers' Corner 2 01-13-2005 07:15 AM


All times are GMT +1. The time now is 08:20 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.