KML - Google Earth
Keyhole Markup Language
Prírodovedecká fakulta Univerzity Komenského
  späť na hlavnú stránku projektu KML

Využitý element "LookAt"


ďalšie informácie sú prevzaté zo stránky Google KML reference

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.

Elements Specific to LookAt

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.

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.

Distance from the earth's surface, in meters. Interpreted according to the LookAt's altitude mode.

Direction (that is, North, South, East, West), in degrees. Default=0 (North). (See diagram below.) Values range from 0 to 360 degrees.

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.

<range> (required)
Distance in meters from the point specified by <longitude>, <latitude>, and <altitude> to the LookAt position. (See diagram below.)

Specifies how the <altitude> specified for the LookAt point is interpreted. Possible values are as follows:
- clampToGround - (default) Indicates to ignore the <altitude> specification and place the LookAt position on the ground.
- relativeToGround - Interprets the >altitude> as a value in meters above the ground.
- absolute - Interprets the <altitude> as a value in meters above sea level.

© Vladimír Bačík | Katedra humánnej geografie a demogeografie | Prírodovedecká fakulta | UK Bratislava