org.opengts.db
Class GoogleKML
java.lang.Object
org.opengts.db.GoogleKML
public class GoogleKML
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_GoogleKML_lastPushpinID
public static final java.lang.String PROP_GoogleKML_lastPushpinID
- See Also:
- Constant Field Values
GooglePushpinBase
public static java.lang.String GooglePushpinBase()
getGooglePushpin
public static org.opengts.db.GoogleKML.GooglePP getGooglePushpin(java.lang.String name)
getInstance
public static GoogleKML getInstance()
createKML
public java.lang.String createKML(java.util.Collection<GeoPoint> gpList)
- Return KML of specified GeoPoints
- Parameters:
gpList
- The collection of GeoPoints
- Returns:
- The KML String representation
writeEvents
public boolean writeEvents(java.io.PrintWriter out,
Account account,
java.util.Collection<Device> devList,
BasicPrivateLabel privLabel)
throws java.io.IOException
- Write events in KML format to specified PrintWriter
- Parameters:
out
- The output PrintWriteraccount
- The AccountdevList
- The Device listprivLabel
- The PrivateLabel instance
- Returns:
- True if successful
- Throws:
java.io.IOException