Location.NormalizeLongitude Method (Double)

Bing
 

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)

public static double NormalizeLongitude(
	double longitude
)

Parameters

longitude
Type: System.Double

The longitude value to normalize.

Return Value

Type: System.Double

Returns Double.

Return to top
Show: