Package com.googlecode.libkml

Examples of com.googlecode.libkml.Folder


  }

  public static void main(String[] args) throws InterruptedException {
    KmlFactory factory = KmlFactory.GetFactory();

    Folder folder = factory.CreateFolder();
    folder.set_name("foo");

    Placemark p0 = factory.CreatePlacemark();
    p0.set_name("placemark 0");
    p0.set_id("p0");

    folder.add_feature(p0);

    System.out.println("folder size: " + folder.get_feature_array_size());

    System.out.println("name: " + folder.get_name());

    Feature f = folder.get_feature_array_at(0);

    Placemark p = kmldom.AsPlacemark(f);

    System.out.println("placemark name: " + p.get_name());
View Full Code Here

TOP

Related Classes of com.googlecode.libkml.Folder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.