Export (0) Print
Expand All
3 out of 7 rated this helpful - Rate this topic

Bing Maps 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 maps are listed here.

Public Events

Name Description

VEMap.onchangemapstyle Event

Occurs when the map style changes.

VEMap.onchangeview Event

Occurs whenever the map view changes.

VEMap.oncredentialserror Event

Occurs when the map control makes a request to the Bing Maps servers and the credentials that were set using the VEMap.SetCredentials Method are invalid.

VEMap.oncredentialsvalid Event

Occurs when the map control makes a request to the Bing Maps servers and the credentials that were set using the VEMap.SetCredentials Method are valid.

VEMap.onendpan Event

Occurs when a pan of the map ends.

VEMap.onendzoom Event

Occurs when the map zoom ends.

VEMap.onerror Event

Occurs when there is a map control error.

VEMap.oninitmode Event

Occurs after the map mode changes and the map has reloaded.

VEMap.onmodenotavailable Event

Occurs when the map mode fails to change to 3D mode.

VEMap.onobliquechange Event

Occurs only when the bird's eye image scene ID is changed. This event fires only if the map is currently displaying a bird's eye image and that image is changed.

VEMap.onobliqueenter Event

Occurs when bird's eye images are available at the center of the current map.

VEMap.onobliqueleave Event

Occurs when bird's eye images are no longer available at the center of the current map.

VEMap.onresize Event

Occurs when the map is resized.

VEMap.onstartpan Event

Occurs when a pan of the map begins. This event is not supported in 3D mode.

VEMap.onstartzoom Event

Occurs when the map zoom begins.

VEMap.ontokenerror Event

Occurs when the map control makes a request to the Bing Maps servers and the token that was set using the VEMap.SetClientToken Method is not valid.

VEMap.ontokenexpire Event

Occurs when the map control makes a request to the Bing Maps servers and the token that was set using the VEMap.SetClientToken Method is expired.

Remarks

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.