public class KmlLib
extends java.lang.Object
Copyright 2008 Partner Software, Inc.
| Constructor and Description |
|---|
KmlLib() |
| Modifier and Type | Method and Description |
|---|---|
static KmlPlacemark |
createPlacemark(CoordinateSystem coordinateSystem,
MapDataItem item)
Creates a placemark based on the passed MapDataItem.
|
static KmlPlacemark |
createPlacemark(CoordinateSystem coordinateSystem,
MapDataItem item,
java.lang.String styleUrl)
Creates a placemark based on the passed MapDataItem.
|
public static KmlPlacemark createPlacemark(CoordinateSystem coordinateSystem, MapDataItem item)
Note, there are still more fields to be set in the returned Placemark. The fields that are set are just the generic fields to have it be displayed.
coordinateSystem - - CoordinateSystem used to reverseProject() on the map item's location.item - - the MapDataItem to turn into a KmlPlacemark.public static KmlPlacemark createPlacemark(CoordinateSystem coordinateSystem, MapDataItem item, java.lang.String styleUrl)
Note, there are still more fields to be set in the returned Placemark. The fields that are set are just the generic fields to have it be displayed.
coordinateSystem - - CoordinateSystem used to reverseProject() on the map item's location.item - - the MapDataItem to turn into a KmlPlacemark.styleUrl - - The styleUrl to set for this placemark.