Defines a virtual camera that is associated with any element derived from Feature.
The LookAt element positions the "camera" in relation to the object that is being
viewed. In Google Earth, the view "flies to" this LookAt viewpoint when the user
double-clicks an item in the Places panel or double-clicks an icon in the 3D viewer.
Syntax:
<LookAt id="ID">
<!-- inherited from AbstractView element -->
<TimePrimitive>...</TimePrimitive> <!-- gx:TimeSpan or gx:TimeStamp -->
<!-- specific to LookAt -->
<longitude>0</longitude> <!-- kml:angle180 -->
<latitude>0</latitude> <!-- kml:angle90 -->
<altitude>0</altitude> <!-- double -->
<heading>0</heading> <!-- kml:angle360 -->
<tilt>0</tilt> <!-- kml:anglepos90 -->
<range></range> <!-- double -->
<altitudeMode>clampToGround</altitudeMode>
<!--kml:altitudeModeEnum:clampToGround, relativeToGround, absolute -->
<!-- or, gx:altitudeMode can be substituted: clampToSeaFloor, relativeToSeaFloor -->
</LookAt>
setAbstractViewObjectExtension(java.util.List<AbstractObject> abstractViewObjectExtension)
Sets the value of the abstractViewObjectExtension property Objects of the following type(s) are allowed in the list List.
void
setAbstractViewSimpleExtension(java.util.List<java.lang.Object> abstractViewSimpleExtension)
Sets the value of the abstractViewSimpleExtension property Objects of the following type(s) are allowed in the list List
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.
heading
protected double heading
Direction (azimuth) of the camera, in degrees. Default=0 (true North). (See diagram.)
Values range from 0 to 360 degrees.
Direction (that is, North, South, East, West), in degrees. Default=0 (North). (See
diagram below.) Values range from 0 to 360 degrees.
Direction (that is, North, South, East, West), in degrees. Default=0 (North). (See
diagram.) Values range from 0 to 360 degrees.
Rotation about the z axis (normal to the Earth's surface). A value of 0 (the default)
equals North. A positive rotation is clockwise around the z axis and specified in
degrees from 0 to 360.
tilt
protected double tilt
Angle between the direction of the LookAt position and the normal to the surface
of the earth. (See diagram below.) Values range from 0 to 90 degrees. Values for
cannot be negative. A value of 0 degrees indicates viewing from directly
above. A value of 90 degrees indicates viewing along the horizon.
Rotation about the x axis. A positive rotation is clockwise around the x axis and
specified in degrees from 0 to 360.
Rotation, in degrees, of the camera around the X axis. A value of 0 indicates that
the view is aimed straight down toward the earth (the most common case). A value
for 90 for indicates that the view is aimed toward the horizon. Values greater
than 90 indicate that the view is pointed up into the sky. Values for are
clamped at +180 degrees.
range
protected double range
(required)
Distance in meters from the point specified by , , and
to the LookAt position. (See diagram below.)