public class KmlPlacemark extends Feature
KmlPoint
,
KmlLineString
, KmlPolygon
or a
KmlMultiGeometry
. Stores the properties and styles of the
place.Constructor and Description |
---|
KmlPlacemark(Geometry geometry,
java.lang.String style,
KmlStyle inlineStyle,
java.util.Map<java.lang.String,java.lang.String> properties)
Creates a new KmlPlacemark object
|
Modifier and Type | Method and Description |
---|---|
KmlStyle |
getInlineStyle()
Gets the inline style that was found
|
MarkerOptions |
getMarkerOptions()
Gets a MarkerOption
|
PolygonOptions |
getPolygonOptions()
Gets a PolygonOption
|
PolylineOptions |
getPolylineOptions()
Gets a PolylineOption
|
java.lang.String |
getStyleId()
Gets the style id associated with the basic_placemark
|
java.lang.String |
toString() |
getGeometry, getId, getProperties, getProperty, getPropertyKeys, hasGeometry, hasProperties, hasProperty, removeProperty, setGeometry, setProperty
public KmlPlacemark(Geometry geometry, java.lang.String style, KmlStyle inlineStyle, java.util.Map<java.lang.String,java.lang.String> properties)
geometry
- geometry object to storestyle
- style id to storeproperties
- properties hashmap to storepublic java.lang.String getStyleId()
public KmlStyle getInlineStyle()
public PolygonOptions getPolygonOptions()
public MarkerOptions getMarkerOptions()
public PolylineOptions getPolylineOptions()
public java.lang.String toString()
toString
in class java.lang.Object