Back to Devexpress

GeoPoint.Normalize(GeoPoint) Method

wpf-devexpress-dot-xpf-dot-map-dot-geopoint-dot-normalize-x28-devexpress-dot-xpf-dot-map-dot-geopoint-x29.md

latest1.7 KB
Original Source

GeoPoint.Normalize(GeoPoint) Method

Normalizes the specified geographical point’s coordinates.

Namespace : DevExpress.Xpf.Map

Assembly : DevExpress.Xpf.Map.v25.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public static GeoPoint Normalize(
    GeoPoint geoPoint
)
vb
Public Shared Function Normalize(
    geoPoint As GeoPoint
) As GeoPoint

Parameters

NameTypeDescription
geoPointGeoPoint

A non-normalized GeoPoint object.

|

Returns

TypeDescription
GeoPoint

A normalized GeoPoint object.

|

Remarks

The point’s GeoPoint.Latitude is normalized to a range from -90 to 90. If the specified value exceeds this range, it will be truncated during normalization.

The point’s GeoPoint.Longitude is normalized to a range from -180 to 180. If the specified value exceeds this range, it will be increased or decreased by 360 until it satisfies the normalized range.

See Also

GeoPoint Class

GeoPoint Members

DevExpress.Xpf.Map Namespace