11/10/2023 0 Comments 3d volumes in nasa world windAside from selecting these projections, the application does not typically interact with the globe. It also handles implementation of the various 2D projections that can be utilized instead of the 3D globe. The Globe is responsible for representing the WGS84 ellipsoid and its terrain. See the Shapes tutorial for a listing and complete description of Web WorldWind’s shapes. Web WorldWind provides many different kinds of shapes. All shapes are contained in layers and the layers contained in a WorldWindow’s layer list. They can be simple placemarks, complex volumes or shapes draped on the terrain. Shapes represent information that you want to display on or relative to the globe. See the Layers section of the tutorials for lots more information about layers. Wwd.addLayer(new WorldWind.ViewControlsLayer(wwd)) Wwd.addLayer(new WorldWind.CoordinatesDisplayLayer(wwd)) Wwd.addLayer(new WorldWind.CompassLayer()) Wwd.addLayer(new WorldWind.BingAerialWithLabelsLayer(null)) Var wwd = new WorldWind.WorldWindow("canvasOne") Here’s an example of adding initial imagery layers along with a compass, a coordinates display and view controls: // Create the WorldWindow. You can see this in all the Web WorldWind examples. The first thing a Web WorldWind application must do is add layers to the layer list. The WorldWindow’s layer list is empty by default. Typically a layer list includes imagery layers followed by shape layers followed by decoration layers. When the WorldWindow draws the scene, it traverses its layer list in order and draws the imagery and other content listed there. All imagery, shapes and decorations such as the compass are defined in layers.Įach WorldWindow contains one Layer List, which holds all the layers displayed in that WorldWindow. Layers contain all the information displayed in the WorldWindow. LayersĪside from the WorldWindow, the most fundamental objects in Web WorldWind are layers. Also see the WorldWindow API documentation for its interface details. See the WorldWindow chapter of this developer’s guide for more information about it. In addition to acting as a container for the Globe and other objects, the WorldWindow provides picking and scene control. An app (web page) may contain more than one WorldWindow object, each for a different canvas. It’s ID is passed to WorldWind during construction of a WorldWindow object. The canvas is created by the app, typically within aĮlement in an HTML page. The WorldWindow object encapsulates the Web WorldWind functionality around an HTML canvas. Items in cyan represent objects that work behind the scenes to retrieve data from the internet and create what the user sees. Objects in red are objects the app typically interacts with, in addition to the WorldWindow. The following figure illustrates Web WorldWind’s overall architecture. The WorldWindow is the primary object the application interacts with. Each operates independently of the others. The web page may contain more than one WorldWindow. The Web WorldWind component is called a WorldWindow. The rest of the components on the web page - the menus, the buttons, the text - are HTML developed by the web page creator. In the following figure, Web WorldWind is just the portion outlined in red. Other components provide textual or graphic information or provide a user interface. As a component, it comprises one aspect of a web application or web page. It provides an interactive, 3D geographic context for information. Web WorldWind is a virtual globe component that you embed in web pages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |