Location Constructor (Double, Double, Double)
This documentation is no longer available on MSDN, however it is available as a CHM download.
Initializes a new instance of the Location structure using the given latitude, longitude, and altitude values.
Namespace: Microsoft.Maps.MapControl
Assembly: Microsoft.Maps.MapControl.Common (in Microsoft.Maps.MapControl.Common.dll)
Usage
Syntax
'Declaration
Public Sub New ( _
latitude As Double, _
longitude As Double, _
altitude As Double _
)
public Location (
double latitude,
double longitude,
double altitude
)
public:
Location (
double latitude,
double longitude,
double altitude
)
public Location (
double latitude,
double longitude,
double altitude
)
public function Location (
latitude : double,
longitude : double,
altitude : double
)
Parameters
- latitude
The latitude of the location.
- longitude
The longitude of the location.
- altitude
The altitude of the location.
Remarks
If the specified values of Latitude and Longitude are not within the range of valid values for these properties, they are converted to valid values. The range of valid values for Latitude is -90 to 90. The range of valid values for Longitude is -180 to 180.
Platforms
Development Platforms
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Target Platforms
See Also
Reference
Location Class
Location Members
Microsoft.Maps.MapControl Namespace