Location Constructor (Double, Double, Double, AltitudeReference)
Bing
Initializes a new instance of the Microsoft.Maps.MapControl.WPF.Location structure using the given latitude, longitude, altitude and altitude reference values.
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)
Public Sub New ( latitude As Double, longitude As Double, altitude As Double, altitudeReference As AltitudeReference )
Parameters
- latitude
-
Type:
System.Double
The latitude of the location.
- longitude
-
Type:
System.Double
The longitude of the location.
- altitude
-
Type:
System.Double
The altitude of the location.
- altitudeReference
-
Type:
Microsoft.Maps.MapControl.WPF.AltitudeReference
The reference plane used to measure the altitude.
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.
Show: