NASA World Wind

gov.nasa.worldwindx.examples.kml
Class ExportKML

java.lang.Object
  extended by gov.nasa.worldwindx.examples.kml.ExportKML

public class ExportKML
extends Object

Shows how to generate KML from World Wind elements. This example creates several objects, and writes their KML representation to stdout.


Field Summary
protected static ShapeAttributes highlightShapeAttributes
           
protected static ShapeAttributes normalShapeAttributes
           
 
Constructor Summary
ExportKML()
           
 
Method Summary
static void main(String[] args)
          Generate sample PointPlacemarks, Paths, and Polygons, and write the KML representation to stdout.
protected static Path makePath()
           
protected static PointPlacemark makePointPlacemark()
           
protected static Polygon makePolygon()
           
protected static SurfaceQuad makeSurfaceQuad()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

highlightShapeAttributes

protected static ShapeAttributes highlightShapeAttributes

normalShapeAttributes

protected static ShapeAttributes normalShapeAttributes
Constructor Detail

ExportKML

public ExportKML()
Method Detail

main

public static void main(String[] args)
Generate sample PointPlacemarks, Paths, and Polygons, and write the KML representation to stdout.

Parameters:
args - Not used.

makePath

protected static Path makePath()

makePointPlacemark

protected static PointPlacemark makePointPlacemark()

makePolygon

protected static Polygon makePolygon()

makeSurfaceQuad

protected static SurfaceQuad makeSurfaceQuad()

NASA World Wind