The call to register event handlers is the same as it would be to define event handlers anywhere: wwd. Rather than specifying event handlers directly on the canvas, apps should establish them on the WorldWindow so that it may coordinate event handling with its own. Event ListenersĪ WorldWindow manages all event handlers associated with its canvas. See the Navigation and Viewing page to learn how to make the WorldWindow look at a different location on the globe or to otherwise modify its view. See this developer’s guide’s section on Picking for more information. Picking is also provided by the WorldWindow. Its associated navigator translates user input to movements of the globe. Behind the scenes, the WorldWindow retrieves imagery and elevation from the internet as needed, generates 3D terrain, and traverses the layer list to display its contents. Apps need do nothing but add layers and perhaps shapes and initiate redraws when it does so. The WorldWindow manages the display of the virtual globe or 2D map. The first thing most apps do is populate it with one or more imagery layers. The layer list holds all layers displayed in that WorldWindow, but it is initially empty. The globe and navigator may subsequently be replaced by the app if desired. These are all created automatically during construction of the WorldWindow object. Each encapsulates a separate canvas and operates independently of the others.Ī WorldWindow contains a Globe, a Navigator and a Layer List. Tutorials explains WorldWind Java in depth. This GitHub organization's default community health. The NASA WorldWind Server Kit (WWSK) is an open source Java project that assembles GeoServer for easy distribution and implementation. Examples presents over 90 WorldWind Java example programs and applets. The NASA WorldWind Java SDK for Android (WWA) includes the library, examples and tutorials for building 3D virtual globe applications for phones and tablets. Demos showcases WorldWind Java applications and applets. Features describes WorldWind Java’s capabilities. Here the canvas is given an initial width and height of 1000 pixels, but the style element causes it to resize to the width of the containing when displayed, and maintain the initial aspect ratio.Ī web page may contain multiple WorldWindows. Get Started shows you how to download and run WorldWind Java. The canvas, itself, is defined in the associated HTML page as follows: Here’s an example of creating a WorldWindow for a canvas whose ID is “canvasOne”: var wwd = new WorldWind.WorldWindow("canvasOne") The WorldWindow directs all drawing to that canvas. The canvas is given an ID and that ID is handed to the WorldWindow constructor to tell the WorldWindow its drawing surface. The app developer is responsible for creating the canvas, typically by defining a element in static HTML. Almost all interactions between the app and Web WorldWind occur through a WorldWindow.Ī WorldWindow encapsulates an HTML canvas element. This image is in the public domain because it is a screenshot from NASA’s globe software World Wind using a public domain layer, such as Blue Marble, MODIS, Landsat, SRTM, USGS or GLOBE. It represents the presence of Web WorldWind in the web page. The GDAL native library project contains detailed instructions for building the GDAL native libraries on the three supported platforms: Linux, Mac OS X, and Windows.WorldWindow is the fundamental Web WorldWind object. This project produces the GDAL native libraries used by the World Wind Java SDK (see WorldWind/lib-external/gdal). The 'GDAL' folder contains the GDAL native library project. examples: Contains example applications that use the World Wind Android SDK. src: Contains all Java source files for the World Wind Android SDK. build.xml: Apache ANT build file for the World Wind Android SDK. Key files and folders in the World Wind Android SDK: Many resource are available at to help you understand and use World Wind on Android. The 'WWAndroid' folder contains the World Wind Android SDK project. lib-external/gdal: Contains the GDAL native binaries libraries that may optionally be distributed with World Wind. server: Contains the World Wind WMS Server Java source files, build file, and deployment files. src: Contains all Java source files for the World Wind Java SDK, except the World Wind WMS Server. build.xml: Apache ANT build file for the World Wind Java SDK. Key files and folders in the World Wind Java SDK: Many resources are available at to help you understand and use World Wind. The 'WorldWind' folder contains the World Wind Java SDK project. This file explains the organization of the World Wind Subversion repository's trunk directories, and briefly outlines their contents.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |