Package com.google.earth.kml._2
Class LocationType
java.lang.Object
com.google.earth.kml._2.ObjectType
com.google.earth.kml._2.LocationType
<p>Java class for LocationType complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<complexType name="LocationType">
<complexContent>
<extension base="{http://earth.google.com/kml/2.1}ObjectType">
<all>
<element name="longitude" type="{http://earth.google.com/kml/2.1}angle180" minOccurs="0"/>
<element name="latitude" type="{http://earth.google.com/kml/2.1}angle90" minOccurs="0"/>
<element name="altitude" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
</all>
</extension>
</complexContent>
</complexType>
}</pre>
-
Field Summary
FieldsFields inherited from class com.google.earth.kml._2.ObjectType
id, targetId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the altitude property.Gets the value of the latitude property.Gets the value of the longitude property.voidsetAltitude(Double value) Sets the value of the altitude property.voidsetLatitude(Double value) Sets the value of the latitude property.voidsetLongitude(Double value) Sets the value of the longitude property.Methods inherited from class com.google.earth.kml._2.ObjectType
getId, getTargetId, setId, setTargetId
-
Field Details
-
longitude
-
latitude
-
altitude
-
-
Constructor Details
-
LocationType
public LocationType()
-
-
Method Details
-
getLongitude
Gets the value of the longitude property.- Returns:
- possible object is
Double
-
setLongitude
Sets the value of the longitude property.- Parameters:
value- allowed object isDouble
-
getLatitude
Gets the value of the latitude property.- Returns:
- possible object is
Double
-
setLatitude
Sets the value of the latitude property.- Parameters:
value- allowed object isDouble
-
getAltitude
Gets the value of the altitude property.- Returns:
- possible object is
Double
-
setAltitude
Sets the value of the altitude property.- Parameters:
value- allowed object isDouble
-