Package gov.nasa.worldwindx.examples.kml
Class KMLViewer
- java.lang.Object
-
- gov.nasa.worldwindx.examples.ApplicationTemplate
-
- 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
Nested Classes Modifier and Type Class Description static class
KMLViewer.AppFrame
static class
KMLViewer.WorkerThread
AThread
that loads a KML file and displays it in anAppFrame
.-
Nested classes/interfaces inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
ApplicationTemplate.AppPanel
-
-
Constructor Summary
Constructors Constructor Description KMLViewer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static java.lang.String
formName(java.lang.Object kmlSource, KMLRoot kmlRoot)
static void
main(java.lang.String[] args)
protected static void
makeMenu(KMLViewer.AppFrame appFrame)
-
Methods inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
insertAfterPlacenames, insertBeforeCompass, insertBeforeLayerName, insertBeforePlacenames, start
-
-
-
-
Method Detail
-
formName
protected static java.lang.String formName(java.lang.Object kmlSource, KMLRoot kmlRoot)
-
makeMenu
protected static void makeMenu(KMLViewer.AppFrame appFrame)
-
main
public static void main(java.lang.String[] args)
-
-