Share via


VELatLong Class

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.

Contains the latitude and longitude of a single point on the globe.

Constructor

Name Description

VELatLong Constructor

Initializes a new instance of the VELatLong object.

Public Methods

Name Description

VELatLong.SetAltitude Method

Specifies the altitude for a point on the globe.

Public Properties

Name Description

VELatLong.Altitude Property

Specifies the altitude of a single point on the globe.

VELatLong.AltitudeMode Property

Specifies the mode in which an altitude is represented.

VELatLong.Latitude Property

Specifies the latitude of a single point on the globe.

VELatLong.Longitude Property

Specifies the longitude of a single point on the globe.

Remarks

The Latitude and Longitude values use WGS 84 datum.

To obtain the VELatLong object of a point on the current map, use the VEMap.PixelToLatLong Method. To convert a VELatLong object to a point on the current map, use the VEMap.LatLongToPixel Method.