Location.NormalizeLongitude Method (Double)
Converts an invalid longitude value to be within the valid range, which is -180 to 180.
Namespace: Microsoft.Maps.MapControl.WPF
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)
Syntax
public static double NormalizeLongitude(
double longitude
)
public:
static double NormalizeLongitude(
double longitude
)
static member NormalizeLongitude :
longitude:float -> float
Public Shared Function NormalizeLongitude (
longitude As Double
) As Double
Parameters
longitude
Type: System.DoubleThe longitude value to normalize.
Return Value
Type: System.Double
Returns Double.
See Also
Location Class
Microsoft.Maps.MapControl.WPF Namespace
Return to top