Google Earth API

KmlLocation Interface Reference

Inheritance diagram for KmlLocation:
Inheritance graph

List of all members.

Public Member Functions

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

Detailed Description

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 altitudeMode.

Member Function Documentation

void KmlLocation.setLatLngAlt ( double  lat,
double  lng,
double  alt 
)

Sets the latitude, longitude, and altitude of the Model.

Longitude of the Model's location. 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 KmlLocation.setLongitude ( double  longitude)

Longitude of the Model's location. 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 camera location. Degrees north or south of the Equator (0 degrees). Values range from -90 degrees (South Pole) to 90 degrees (North Pole).

void KmlLocation.setLatitude ( double  latitude)

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

Specifies the distance above the earth's surface.

void KmlLocation.setAltitude ( double  altitude)

Specifies the distance above 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.