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)
bool getFadeInOutEnabled ()
void setFadeInOutEnabled (bool fadeInOutEnabled)
bool getUnitsFeetMiles ()
void setUnitsFeetMiles (bool unitsFeetMiles)
void setBuildingSelectionEnabled (bool buildingSelectionEnabled)
bool getBuildingSelectionEnabled ()
bool getBuildingHighlightingEnabled ()
void setBuildingHighlightingEnabled (bool buildingHighlightingEnabled)
double getTerrainExaggeration ()
void setTerrainExaggeration (double terrainExaggeration)
void setAutoGroundLevelViewEnabled (bool autoGroundLevelViewEnabled)
bool getAutoGroundLevelViewEnabled ()

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.

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.

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

Show or hide the status bar. Disabled by default.

void GEOptions.setStatusBarVisibility ( bool  statusBarVisibility)

Show or hide the status bar. Disabled by default.

Show or hide the grid. Disabled by default.

void GEOptions.setGridVisibility ( bool  gridVisibility)

Show or hide the grid. Disabled by default.

Show or hide the overview map. Disabled by default.

void GEOptions.setOverviewMapVisibility ( bool  overviewMapVisibility)

Show or hide the overview map. Disabled by default.

Show or hide the scale legend. Disabled by default.

void GEOptions.setScaleLegendVisibility ( bool  scaleLegendVisibility)

Show or hide the scale legend. Disabled by default.

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.

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

Returns true if the animation of features as they are added or removed from the globe has been enabled.

void GEOptions.setFadeInOutEnabled ( bool  fadeInOutEnabled)

Enable or disable the animation of a feature when it is added or removed from the Google Earth plugin. The animation consists of a slight change of scale. Default is true.

Returns true if display units are set to imperial units (feet and miles). False denotes metric units (meters and kilometers).

void GEOptions.setUnitsFeetMiles ( bool  unitsFeetMiles)

Set display units to imperial (feet and miles) or metric (meters and kilometers). This setting affects only the values displayed in the status bar and the scale bar. The values passed and returned with an object's getters and setters are always metric.

void GEOptions.setBuildingSelectionEnabled ( bool  buildingSelectionEnabled)

Enables or disables building selection. If enabled, clicking a building will pop a feature balloon containing information from the Google 3D Warehouse database.

Whether or not building selection is enabled.

Returns true if building highlighting is enabled.

void GEOptions.setBuildingHighlightingEnabled ( bool  buildingHighlightingEnabled)

Enables or disables building highlighting. When enabled, buildings will be highlighted when they are moused over.

Returns the terrain exaggeration value. Valid values are in the range of 1.0 through 3.0.

void GEOptions.setTerrainExaggeration ( double  terrainExaggeration)

Set the terrain exaggeration value. Valid values are in the range of 1.0 through 3.0. Attempting to set outside of this range will result in the value being clamped.

void GEOptions.setAutoGroundLevelViewEnabled ( bool  autoGroundLevelViewEnabled)

When enabled, the view will change to 'ground level view' when the camera reaches ground level. This view provides pan and lookAt controls, but no zoom slider. The tilt will be set to 90, or parallel with level ground.

Whether automatic ground level view is enabled.

Authentication required

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

Signing you in...

Google Developers needs your permission to do that.