Google Earth API

KmlPoint Interface Reference

Inheritance diagram for KmlPoint:
Inheritance graph

List of all members.

Public Member Functions

void set (double latitude, double longitude, double altitude, KmlAltitudeModeEnum altitudeMode, bool extrude, bool tessellate)
void setLatLng (double latitude, double longitude)
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 geographic location defined by longitude, latitude, and (optional) altitude. When a Point is contained by a Placemark, the point itself determines the position of the Placemark's name and icon. When a Point is extruded, it is connected to the ground with a line. This tether uses the current LineStyle.

Member Function Documentation

void KmlPoint.set ( double  latitude,
double  longitude,
double  altitude,
KmlAltitudeModeEnum  altitudeMode,
bool  extrude,
bool  tessellate 
)

Sets altitudeMode, extrude, tessellate, latitude, longitude, and altitude values.

void KmlPoint.setLatLng ( double  latitude,
double  longitude 
)

Sets the latitude and longitude.

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

Sets the latitude, longitude, and altitide.

The point's latitude, in degrees.

void KmlPoint.setLatitude ( double  latitude)

The point's latitude, in degrees.

The point's longitude, in degrees.

void KmlPoint.setLongitude ( double  longitude)

The point's longitude, in degrees.

The point's altitude, in meters.

void KmlPoint.setAltitude ( double  altitude)

The point's altitude, in meters.

Authentication required

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

Signing you in...

Google Developers needs your permission to do that.