Specifies the exact coordinates of the Model's origin in latitude, longitude, and
altitude. Latitude and longitude measurements are standard lat-lon projection with
WGS84 datum. Altitude is distance above the earth's surface, in meters, and is interpreted
according to or . 39.55375305703105
-118.9813220168456 1223
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
longitude
protected double longitude
Longitude of the point the camera is looking at. Angular distance in degrees, relative
to the Prime Meridian. Values west of the Meridian range from −180 to 0 degrees.
Values east of the Meridian range from 0 to 180 degrees.
Longitude of the virtual camera (eye point). Angular distance in degrees, relative
to the Prime Meridian. Values west of the Meridian range from −180 to 0 degrees.
Values east of the Meridian range from 0 to 180 degrees.
latitude
protected double latitude
Latitude of the point the camera is looking at. Degrees north or south of the Equator
(0 degrees). Values range from −90 degrees to 90 degrees.
Latitude of the virtual camera. Degrees north or south of the Equator (0 degrees).
Values range from −90 degrees to 90 degrees.
altitude
protected double altitude
Distance from the earth's surface, in meters. Interpreted according to the LookAt's
altitude mode.
Distance of the camera from the earth's surface, in meters. Interpreted according
to the Camera's or .
Specifies the distance above the earth's surface, in meters, and is interpreted
according to the altitude mode.
locationSimpleExtension
protected java.util.List<java.lang.Object> locationSimpleExtension
locationObjectExtension
protected java.util.List<AbstractObject > locationObjectExtension
This is an abstract base class and cannot be used directly in a KML file. It provides
the id attribute, which allows unique identification of a KML element, and the targetId
attribute, which is used to reference objects that have already been loaded into
Google Earth. The id attribute must be assigned if the mechanism is to
be used.
Syntax:
<!-- abstract element; do not create -->
<!-- Object id="ID" targetId="NCName" -->
<!-- /Object > -->
Location
public Location ()
getLongitude
public double getLongitude ()
Returns: possible object is
Double
See Also: longitude
setLongitude
public void setLongitude (double value)
Parameters: value
- allowed object is
Double
See Also: longitude
getLatitude
public double getLatitude ()
Returns: possible object is
Double
See Also: latitude
setLatitude
public void setLatitude (double value)
Parameters: value
- allowed object is
Double
See Also: latitude
getAltitude
public double getAltitude ()
Returns: possible object is
Double
See Also: altitude
setAltitude
public void setAltitude (double value)
Parameters: value
- allowed object is
Double
See Also: altitude
getLocationSimpleExtension
public java.util.List<java.lang.Object> getLocationSimpleExtension ()
See Also: locationSimpleExtension
getLocationObjectExtension
public java.util.List<AbstractObject > getLocationObjectExtension ()
See Also: locationObjectExtension
hashCode
public int hashCode ()
Overrides: hashCode
in class AbstractObject
equals
public boolean equals (java.lang.Object obj)
Overrides: equals
in class AbstractObject
setLocationSimpleExtension
public void setLocationSimpleExtension (java.util.List<java.lang.Object> locationSimpleExtension)
Parameters: locationSimpleExtension
- See Also: locationSimpleExtension
addToLocationSimpleExtension
public Location addToLocationSimpleExtension (java.lang.Object locationSimpleExtension)
add a value to the locationSimpleExtension property collection
Parameters: locationSimpleExtension
- Objects of the following type are allowed in the list: Object
Returns: true (as general contract of Collection.add ).
setLocationObjectExtension
public void setLocationObjectExtension (java.util.List<AbstractObject > locationObjectExtension)
Parameters: locationObjectExtension
- See Also: locationObjectExtension
addToLocationObjectExtension
public Location addToLocationObjectExtension (AbstractObject locationObjectExtension)
add a value to the locationObjectExtension property collection
Parameters: locationObjectExtension
- Objects of the following type are allowed in the list: AbstractObject
Returns: true (as general contract of Collection.add ).
setObjectSimpleExtension
public void setObjectSimpleExtension (java.util.List<java.lang.Object> objectSimpleExtension)
Overrides: setObjectSimpleExtension
in class AbstractObject
See Also: objectSimpleExtension
addToObjectSimpleExtension
public Location addToObjectSimpleExtension (java.lang.Object objectSimpleExtension)
Description copied from class: AbstractObject
add a value to the objectSimpleExtension property collection
Overrides: addToObjectSimpleExtension
in class AbstractObject
Parameters: objectSimpleExtension
- Objects of the following type are allowed in the list: Object
Returns: true (as general contract of Collection.add ).
withLongitude
public Location withLongitude (double longitude)
fluent setter
Parameters: longitude
- required parameterSee Also: setLongitude(double)
withLatitude
public Location withLatitude (double latitude)
fluent setter
Parameters: latitude
- required parameterSee Also: setLatitude(double)
withAltitude
public Location withAltitude (double altitude)
fluent setter
Parameters: altitude
- required parameterSee Also: setAltitude(double)
withLocationSimpleExtension
public Location withLocationSimpleExtension (java.util.List<java.lang.Object> locationSimpleExtension)
fluent setter
Parameters: locationSimpleExtension
- required parameterSee Also: #setLocationSimpleExtension(List)
withLocationObjectExtension
public Location withLocationObjectExtension (java.util.List<AbstractObject > locationObjectExtension)
fluent setter
Parameters: locationObjectExtension
- required parameterSee Also: #setLocationObjectExtension(List)
withObjectSimpleExtension
public Location withObjectSimpleExtension (java.util.List<java.lang.Object> objectSimpleExtension)
Description copied from class: AbstractObject
fluent setter
Overrides: withObjectSimpleExtension
in class AbstractObject
Parameters: objectSimpleExtension
- required parameterSee Also: #setObjectSimpleExtension(List)
withId
public Location withId (java.lang.String id)
Description copied from class: AbstractObject
fluent setter
Overrides: withId
in class AbstractObject
Parameters: id
- required parameterSee Also: AbstractObject.setId(String)
withTargetId
public Location withTargetId (java.lang.String targetId)
Description copied from class: AbstractObject
fluent setter
Overrides: withTargetId
in class AbstractObject
Parameters: targetId
- required parameterSee Also: AbstractObject.setTargetId(String)
clone
public Location clone ()
Overrides: clone
in class AbstractObject