Google Earth API

KmlMouseEvent Interface Reference

Inheritance diagram for KmlMouseEvent:
Inheritance graph

List of all members.

Public Member Functions

int getButton ()
int getClientX ()
int getClientY ()
int getScreenX ()
int getScreenY ()
float getLatitude ()
float getLongitude ()
float getAltitude ()
bool getDidHitGlobe ()
bool getAltKey ()
bool getCtrlKey ()
bool getShiftKey ()
GEEventEmitter getRelatedTarget ()
int getTimeStamp ()

Detailed Description

Represents a mouse input event.

Member Function Documentation

The button on the mouse was pressed. Possible values include 0, 1, 2, where 0 is left, 1 is middle, and 2 is right mouse key.

The x coordinate at which the event occurred, measured in pixels from the left edge of the plug-in window.

The y coordinate at which the event occurred, measured in pixels from the top edge of the plug-in window.

The x coordinate at which the event occurred, measured in pixels from the left edge of the computer screen.

The y coordinate at which the event occurred, measured in pixels from the top edge of the computer screen.

The latitude at which the event occurred, in decimal degrees.

The longitude at which the event occurred, in decimal degrees.

The altitude at which the event occurred, in meters.

Indicates whether a mouse action occurred while on the Google Earth globe.

Indicates whether the ALT key was held down when an event occurred.

Indicates whether the CTRL key was held down when an event occurred.

Indicates whether the SHIFT key was held down when an event occurred.

Used with the mouseover and mouseout events to specify a secondary target. For mouseover, it specifies the object that the mouse was over. For mouseout, it specifies the new object that the mouse is over.

Returns the timestamp of the event, in Unix time.

Authentication required

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

Signing you in...

Google Developers needs your permission to do that.