public class SurfaceImageViewer extends ApplicationTemplate
After clicking the open button and selecting the desired image or elevations file, the program status will change to Loading while WorldWind installs the selected data. Wait until the status changes to Ready. The data will have finished installing and will be ready for viewing.
Image and elevation files that you wish to load must be accompanied by a world file, or they will fail to load. The world file can be identified as the file with a file extension consisting of three letters. The first two of these will be the first and last letters of the image or elevation file type, e.g. tf for a tiff file, or jg for a jpeg file. The last letter will be a double.
For example, a world file accompanying a jpeg file would have the extension .jgw :
image.jpg // image file image.jgw // accompanying world file
Modifier and Type | Class and Description |
---|---|
static class |
SurfaceImageViewer.AppFrame |
ApplicationTemplate.AppPanel
Constructor and Description |
---|
SurfaceImageViewer() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
insertAfterPlacenames, insertBeforeCompass, insertBeforeLayerName, insertBeforePlacenames, start