10/4/2023 0 Comments Nasa world windThe more you focus down on a place the more names of cities and significant locations pop up. Zoom in over the map using the rollover button of your mouse and skim to parts of the screen with your mouse. It is important to point out however that the search function in World Wind is not as good at finding cities as it is with landmarks.Īnother of World Wind's assets is its usability. Click on the tag and you will be directed to the Wikipedia page for that particular landmark, where you'll be able to read all about it. If you select the landmark finder tool from the top section, World Wind will exhibit small tags for all locations it considers of significance. Landmarks are particularly well catalogued. Find a destination by typing its name in the search tool located on the top bar. See the NominatimGeocoder API doc to determine the details of the returned results and the accepted query string parameters.A digital globe wouldn't be complete without its own search option. An example of doing this is in LayerManager.js. These coordinates can be passed to a GoToAnimator to move the navigator smoothly to that geographic position. Two important properties of each result are its lat and lon properties, which identify the latitude and longitude of the place. More than one place may be identified each is represented by an element in the return array. The results are parsed JSON and contain a wealth of information about the places found that match the query string. The arguments to the callback function are, in order, a reference to geocoder and an array of query results. The callback function is called when the service replies. The query string is sent to the geocoder service. The arguments to this function are a query string and a callback function. The NominatimGeocoder has one function, lookup. An example of its usage is in LayerManager.js. Web WorldWind provides the NominatimGeocoder that uses Open Street Map’s Nominatim geocoder at MapQuest. Geocoders convert query strings identifying places to geographic locations and other useful information. You can change the time it takes to perform the animation via the travelTime property. Use a Position if you want the end position to have a different altitude than the start position. Use a Location if you want the start and end positions to have the same altitude. To use this class you pass its goTo function either a Location or a Position. You can see example usage in LayerManager.js. To change the navigator smoothly, use the GoToAnimator class. roll - The navigator’s angle around an imaginary line from the eye position to the look-at location.A value of 0 points the user straight down on the globe. tilt - The navigator’s tilt, in degrees.heading - The navigator’s heading, in degrees clockwise from north.The navigator also has the following properties that the app can set: For that use a GoToAnimator, described below. Ideally the view would change incrementally and smoothly. = 2e6 // 2 million meters above the ellipsoid Adjust the Navigator to place Alaska in the center of the range - Indicates the eye distance from the globe’s ellipsoid.īy specifying these properties the app can move the user to any point around the globe, as in this example: // Get a reference to the WorldWindow.lookAtLocation - Indicates the latitude and longitude of where the user’s view is pointed.The navigator has two primary properties allowing control: But it’s certainly possible to direct the navigator from the app itself. Unless an app wants to change the user’s view programmatically, it never needs to interact with the navigator. You can directly modify the properties of the WorldWindow’s GoToAnimator to change the go-to travel time or update frequency, or to cancel a previously requested go-to request. If all you want to do is move the view to a geographic location or position (a location with altitude), you can use the goTo function of WorldWindow to do that. Controlling the View from the WorldWindowĬontrolling the View from the WorldWindow. A navigator is created automatically when you create a WorldWindow. That navigator is responsible for the view onto the globe. As the user interacts with the globe, panning, zooming and tilting, it’s the WorldWindow’s Navigator that translates the user’s movements into operations on the globe.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |