VELatLong 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 VELatLong Class.

var x = new VELatLong(latitude, longitude, altitude, altitudeMode);

Parameters

Parameter Description

latitude

The latitude of a single point on the globe

longitude

The longitude of a single point on the globe

altitude

The altitude of a single point on the globe. Optional. The default value is 0 (zero).

altitudeMode

A VEAltitudeMode Enumeration value representing the mode in which an altitude is represented. Optional. The default value is VEAltitudeMode.Default.

Remarks

The latitude and longitude values use WGS 84 datum.

See Also

Reference

VELatLong.Altitude Property
VELatLong.AltitudeMode Property
VELatLong.Latitude Property
VELatLong.Longitude Property