Google Earth API

GENavigationControl Interface Reference

List of all members.

Public Member Functions

GEVisibilityEnum getVisibility ()
void setVisibility (GEVisibilityEnum visibility)
GENavigationControlEnum getControlType ()
void setControlType (GENavigationControlEnum controlType)
KmlVec2 getScreenXY ()
void setStreetViewEnabled (bool streetViewEnabled)
bool getStreetViewEnabled ()

Detailed Description

Used to manipulate the navigation controls in Google Earth.

Member Function Documentation

GEVisibilityEnum GENavigationControl.getVisibility ( )

Whether the control is always visible, always hidden, or visible only when the user intends to use the control.

See also:
GEPlugin.VISIBILITY_SHOW
GEPlugin.VISIBILITY_HIDE
GEPlugin.VISIBILITY_AUTO
void GENavigationControl.setVisibility ( GEVisibilityEnum  visibility)

Specifies whether the control is always visible, always hidden, or visible only when the user intends to use the control.

See also:
GEPlugin.VISIBILITY_SHOW
GEPlugin.VISIBILITY_HIDE
GEPlugin.VISIBILITY_AUTO
GENavigationControlEnum GENavigationControl.getControlType ( )

Returns the currently specified navigation control type.

void GENavigationControl.setControlType ( GENavigationControlEnum  controlType)

Specifies the size of the navigation control.

See also:
GEPlugin.NAVIGATION_CONTROL_LARGE
GEPlugin.NAVIGATION_CONTROL_SMALL

The position of the navigation controls in Google Earth

void GENavigationControl.setStreetViewEnabled ( bool  streetViewEnabled)

Enables or disables user-initiated entry to Street View imagery. When true, the Pegman icon is present in the navigation controls, allowing a user to drag the Pegman onto a street to initiate Street View. Users can also zoom down to ground level to enter Street View when this is set to true.

Whether Street View is enabled in the navigation controls.

Authentication required

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

Signing you in...

Google Developers needs your permission to do that.