Export (0) Print
Expand All

VEMap Constructor

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.

Initializes a new instance of the VEMap class.


var x = new VEMap(control_id);

Parameters

Parameter Description

control_id

The ID of the HTML control that will contain the map

After initializing the map object, call the VEMap.LoadMap Method.

When you create a new instance of VEMap Class, you must specify the control on the Web page that will contain the map. For example, it is most common to display the map in a DIV control. You specify the value of the id parameter of the DIV control when initializing VEMap, as shown in the following example.

Show:
© 2014 Microsoft