Google Earth API

KmlRegion Interface Reference

Inheritance diagram for KmlRegion:
Inheritance graph

List of all members.

Public Member Functions

void set (KmlLatLonAltBox latLonAltBox, KmlLod lod)
KmlLatLonAltBox getLatLonAltBox ()
void setLatLonAltBox (KmlLatLonAltBox latLonAltBox)
KmlLod getLod ()
void setLod (KmlLod lod)

Detailed Description

The KmlRegion object is used to set region objects and their properties. A region contains a bounding box (LatLonAltBox) that describes an area of interest defined by geographic coordinates and altitudes. In addition, a Region contains an LOD (level of detail) extent that defines a validity range of the associated Region in terms of projected screen size. A Region is said to be "active" when the bounding box is within the user's view and the LOD requirements are met. Objects associated with a Region are drawn only when the Region is active. When the viewRefreshMode is onRegion, the Link or Icon is loaded only when the Region is active.

Member Function Documentation

void KmlRegion.set ( KmlLatLonAltBox  latLonAltBox,
KmlLod  lod 
)

Sets the latLonAltBox and lod for the region.

A bounding box that describes an area of interest defined by geographic coordinates and altitudes.

A bounding box that describes an area of interest defined by geographic coordinates and altitudes.

LOD is an abbreviation for Level of Detail. Lod describes the size of the projected region on the screen that is required in order for the region to be considered "active." Also specifies the size of the pixel ramp used for fading in (from transparent to opaque) and fading out (from opaque to transparent).

void KmlRegion.setLod ( KmlLod  lod)

LOD is an abbreviation for Level of Detail. Lod describes the size of the projected region on the screen that is required in order for the region to be considered "active." Also specifies the size of the pixel ramp used for fading in (from transparent to opaque) and fading out (from opaque to transparent).

Authentication required

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

Signing you in...

Google Developers needs your permission to do that.