All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gwtopenmaps.openlayers.client.format.KMLImpl Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
package org.gwtopenmaps.openlayers.client.format;

import org.gwtopenmaps.openlayers.client.util.JSObject;

/**
 * @author Edwin Commandeur - Atlis EJS
 * @author Curtis Jensen
 *
 */
public class KMLImpl {

	public static native JSObject create()
	/*-{
		return new $wnd.OpenLayers.Format.KML();
	}-*/;

	public static native JSObject read(JSObject kmlFormat, String kmlString)/*-{
		return kmlFormat.read(kmlString);
	}-*/;
	
	public static native String write(JSObject kmlFormat, JSObject feature, boolean pretty)/*-{
		return kmlFormat.write(feature, pretty);
	}-*/;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy