VEMapViewSpecification 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 VEMapViewSpecification class.
var x = new VEMapViewSpecification(center, zoom, altitude, pitch, heading);
Parameters
Parameter | Description |
---|---|
center |
A VELatLong Class object that specifies the center point of the map. Required. |
zoom |
An integer that represents the zoom level of the map. Required if VEMapMode Enumeration is set to Mode2D. Ignored if VEMapMode is set to Mode3D and the altitude parameter is specified. |
altitude |
If VEMapMode Enumeration is set to Mode3D, the altitude of the view, in meters above the geoid. |
pitch |
If VEMapMode Enumeration is set to Mode3D, the pitch of the view, in degrees. A value of –90 is straight down and a value of 0 is level. |
heading |
If VEMapMode Enumeration is set to Mode3D, the heading of the view, in compass degrees. A value of 0 or 360 is true north. |