VEMap.onmouseup Event
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.
Occurs when a mouse button (left, right, or middle) is released.
VEMap.AttachEvent("onmouseup", function_name);
Return Value
A MapEvent object, which has the following properties:
Property | Description |
---|---|
altKey |
A Boolean object representing whether the ALT key was held when the key was pressed. Note This is not supported in 3D mode. |
ctrlKey |
A Boolean object representing whether the CTRL key was held when the key was pressed. Note This is not supported in 3D mode. |
elementID |
The ID of the object associated with the event, usually a VEShape Class object or the base map. |
eventName |
A String object representing the type of event that occurred. |
latLong |
The latlong coordinates of the clicked location. This only works in 3D mode and is not supported in the Core Map Control. For 2D, you can convert mapX and mapY to a latlong using the VEMap.PixelToLatLong Method method. |
leftMouseButton |
A Boolean object representing whether the left mouse button has been clicked. |
rightMouseButton |
A Boolean object representing whether the right mouse button has been clicked. |
mapStyle |
The current map style as a String. Valid String results are ga, r, h, and o. |
sceneID |
If the map style is set to bird's eye (oblique), the unique identifier of the current bird's eye scene. |
sceneOrientation |
If the map style is set to bird's eye (oblique), the orientation of the current bird's eye scene. |
shiftKey |
A Boolean object representing whether the shift key was held when the key was pressed. Note This is not supported in 3D mode. |
clientX |
The x coordinate of the mouse cursor relative to the browser window. |
clientY |
The y coordinate of the mouse cursor relative to the browser window. |
screenX |
The x coordinate of the mouse cursor relative to the screen. Note This is not supported in 3D mode. |
screenY |
The y coordinate of the mouse cursor relative to the screen. Note This is not supported in 3D mode. |
mapX |
The x coordinate of the map relative to the screen. Note This is not supported in 3D mode. |
mapY |
The y coordinate of the map relative to the screen. Note This is not supported in 3D mode. |
zoomLevel |
The current zoom level of the map. |