My favorites | English | Sign in

Google Earth API

GEOptions Interface Reference

List of all members.


Public Member Functions

void setMapType (GEMapTypeEnum type)
double getScrollWheelZoomSpeed ()
void setScrollWheelZoomSpeed (double scrollWheelZoomSpeed)
double getFlyToSpeed ()
void setFlyToSpeed (double flyToSpeed)
bool getStatusBarVisibility ()
void setStatusBarVisibility (bool statusBarVisibility)
bool getGridVisibility ()
void setGridVisibility (bool gridVisibility)
bool getOverviewMapVisibility ()
void setOverviewMapVisibility (bool overviewMapVisibility)
bool getScaleLegendVisibility ()
void setScaleLegendVisibility (bool scaleLegendVisibility)
bool getAtmosphereVisibility ()
void setAtmosphereVisibility (bool atmosphereVisibility)
bool getMouseNavigationEnabled ()
void setMouseNavigationEnabled (bool mouseNavigationEnabled)

Detailed Description

Used to manipulate the behavior of the Google Earth options such as, navigation, flyToSpeed, scroll wheel speed and so on.

Member Function Documentation

void GEOptions.setMapType ( GEMapTypeEnum  type  ) 

Sets the map type to Earth or sky mode.

double GEOptions.getScrollWheelZoomSpeed (  ) 

Speed of zoom when user rolls the mouse wheel. Default is 1. Set to a negative number to reverse the zoom direction.

void GEOptions.setScrollWheelZoomSpeed ( double  scrollWheelZoomSpeed  ) 

Speed of zoom when user rolls the mouse wheel. Default is 1. Set to a negative number to reverse the zoom direction.

double GEOptions.getFlyToSpeed (  ) 

Specifies the speed at which the camera moves (0 to 5.0). Set to SPEED_TELEPORT to immediately appear at selected destination.

See also:
GEPlugin.SPEED_TELEPORT

void GEOptions.setFlyToSpeed ( double  flyToSpeed  ) 

Specifies the speed at which the camera moves (0 to 5.0). Set to SPEED_TELEPORT to immediately appear at selected destination.

See also:
GEPlugin.SPEED_TELEPORT

bool GEOptions.getStatusBarVisibility (  ) 

Show or hide the status bar. Disabled by default.

void GEOptions.setStatusBarVisibility ( bool  statusBarVisibility  ) 

Show or hide the status bar. Disabled by default.

bool GEOptions.getGridVisibility (  ) 

Show or hide the grid. Disabled by default.

void GEOptions.setGridVisibility ( bool  gridVisibility  ) 

Show or hide the grid. Disabled by default.

bool GEOptions.getOverviewMapVisibility (  ) 

Show or hide the overview map. Disabled by default.

void GEOptions.setOverviewMapVisibility ( bool  overviewMapVisibility  ) 

Show or hide the overview map. Disabled by default.

bool GEOptions.getScaleLegendVisibility (  ) 

Show or hide the scale legend. Disabled by default.

void GEOptions.setScaleLegendVisibility ( bool  scaleLegendVisibility  ) 

Show or hide the scale legend. Disabled by default.

bool GEOptions.getAtmosphereVisibility (  ) 

Show or hide the blue atmosphere that appears around the perimeter of the Earth. On by default.

void GEOptions.setAtmosphereVisibility ( bool  atmosphereVisibility  ) 

Show or hide the blue atmosphere that appears around the perimeter of the Earth. On by default.

bool GEOptions.getMouseNavigationEnabled (  ) 

Enable or disable user panning and zooming of the map. Enabled by default.

Note:
This also enables and disables keyboard navigation (arrow keys, page-up/page-down, etc).

void GEOptions.setMouseNavigationEnabled ( bool  mouseNavigationEnabled  ) 

Enable or disable user panning and zooming of the map. Enabled by default.

Note:
This also enables and disables keyboard navigation (arrow keys, page-up/page-down, etc).