VELatLongRectangle 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 VELatLongRectangle class.


var x = new VELatLongRectangle(TopLeftLatLong, BottomRightLatLong, TopRightLatLong, BottomLeftLatLong);

Parameters

Parameter Description

TopLeftLatLong

A VELatLong Class object that specifies the latitude and longitude of the upper-left corner of the map view

BottomRightLatLong

A VELatLong Class object that specifies the latitude and longitude of the lower-right corner of the map view

TopRightLatLong

If the map is in 3D mode, a VELatLong Class object that specifies the latitude and longitude of the upper-right corner of the map view

BottomLeftLatLong

If the map is in 3D mode, a VELatLong Class object that specifies the latitude and longitude of the lower-left corner of the map view

Show: