Google Earth API

KmlCoord Interface Reference

Inherits KmlObjectBase.

List of all members.

Public Member Functions

void setLatLngAlt (double latitude, double longitude, double altitude)
double getLatitude ()
void setLatitude (double latitude)
double getLongitude ()
void setLongitude (double longitude)
double getAltitude ()
void setAltitude (double altitude)

Detailed Description

A single tuple consisting of floating point values for longitude, latitude, and altitude (in that order). Longitude and latitude values are in degrees.

  • longitude = -180 and <= 180
  • latitude = -90 and = 90
  • altitude values (optional) are in meters above sea level

Member Function Documentation

void KmlCoord.setLatLngAlt ( double  latitude,
double  longitude,
double  altitude 
)

Sets the latitude, longitude, altitude.

Degrees north or south of the Equator (0 degrees). Values range from -90 degrees (South Pole) to 90 degrees (North Pole).

void KmlCoord.setLatitude ( double  latitude)

Degrees north or south of the Equator (0 degrees). Values range from -90 degrees (South Pole) to 90 degrees (North Pole).

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.

void KmlCoord.setLongitude ( double  longitude)

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.

Distance from the earth's surface.

void KmlCoord.setAltitude ( double  altitude)

Distance from the earth's surface.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.