NASA World Wind

gov.nasa.worldwindx.examples.kml
Class KMLViewer

java.lang.Object
  extended by gov.nasa.worldwindx.examples.ApplicationTemplate
      extended by gov.nasa.worldwindx.examples.kml.KMLViewer

public class KMLViewer
extends ApplicationTemplate

An example application that allows the user to import a KML or KMZ file as a layer. The contents of the file are displayed in a feature tree. Click on KML features in the tree to navigate the view to the feature. Clicking on features on the globe will open an info balloon for the feature, if the feature provides a description. Use the File menu to open a document from a local file or from a URL.


Nested Class Summary
static class KMLViewer.AppFrame
           
static class KMLViewer.WorkerThread
          A Thread that loads a KML file and displays it in an AppFrame.
 
Nested classes/interfaces inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
ApplicationTemplate.AppPanel
 
Constructor Summary
KMLViewer()
           
 
Method Summary
protected static String formName(Object kmlSource, KMLRoot kmlRoot)
           
static void main(String[] args)
           
protected static void makeMenu(KMLViewer.AppFrame appFrame)
           
 
Methods inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
insertAfterPlacenames, insertBeforeCompass, insertBeforeLayerName, insertBeforePlacenames, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KMLViewer

public KMLViewer()
Method Detail

formName

protected static String formName(Object kmlSource,
                                 KMLRoot kmlRoot)

main

public static void main(String[] args)

makeMenu

protected static void makeMenu(KMLViewer.AppFrame appFrame)

NASA World Wind