Package com.googlecode.libkml

Examples of com.googlecode.libkml.Coordinates


  public static void main(String[] args) {
    // NOTE: KmlFactory does _not_ use kmldom.
    KmlFactory factory = KmlFactory.GetFactory();

    // <coordinates>1,2</coordinates>
    Coordinates coordinates = factory.CreateCoordinates();
    coordinates.add_latlng(37.0, -122.0);

    // <Point id="pt0">...
    Point point = factory.CreatePoint();
    point.set_id("pt0");
    point.set_coordinates(coordinates);
View Full Code Here

TOP

Related Classes of com.googlecode.libkml.Coordinates

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.