Share via


Location.NormalizeLongitude Method

This documentation is no longer available on MSDN, however it is available as a CHM download.

Converts an invalid longitude value to be within the valid range, which is -180 to 180.

Namespace: Microsoft.Maps.MapControl
Assembly: Microsoft.Maps.MapControl.Common (in Microsoft.Maps.MapControl.Common.dll)

Usage

Syntax

'Declaration
Public Shared Function NormalizeLongitude ( _
    longitude As Double _
) As Double
public static double NormalizeLongitude (
    double longitude
)
public:
static double NormalizeLongitude (
    double longitude
)
public static double NormalizeLongitude (
    double longitude
)
public static function NormalizeLongitude (
    longitude : double
) : double

Parameters

  • longitude
    The longitude value to normalize.

Return Value

Returns Double.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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