MSDN Library

Mouse Events

You are not viewing the latest version of the AJAX control. Bing Maps AJAX V7 is the recommended JavaScript control for Bing Maps. If you need this documentation, it is available in as a CHM or PDF download.

The events of the VEMap Class that are specific to mouse events are listed here.

Public Mouse Events

Name Description

VEMap.onclick Event

Occurs when a left or right mouse button is single-clicked.

VEMap.ondoubleclick Event

Occurs when a left mouse button is double-clicked.

VEMap.onmousemove Event

Occurs when the mouse cursor moves.

Bb412438.note(en-us,MSDN.10).gifNote:
 This is not supported in 3D mode.

VEMap.onmousedown Event

Occurs when a mouse button (left, right, or middle) is clicked (but before it is released).

VEMap.onmouseup Event

Occurs when a mouse button (left, right, or middle) is released.

VEMap.onmouseover Event

Occurs when the mouse cursor moves over a VEShape Class object.

VEMap.onmouseout Event

Occurs when the mouse cursor moves away from a VEShape object.

VEMap.onmousewheel Event

Occurs when the mouse wheel is moved.

Bb412438.note(en-us,MSDN.10).gifNote:
This method is not supported in 3D mode, and the coordinate values returned in Firefox 1.5 and 2.0 are not correct.

See Also

Show:
© 2016 Microsoft