Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GeoPoint.Normalize(GeoPoint) Method

Normalizes the specified geographical point’s coordinates.

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map

#Declaration

public static GeoPoint Normalize(
    GeoPoint geoPoint
)

#Parameters

Name Type Description
geoPoint GeoPoint

A non-normalized GeoPoint object.

#Returns

Type Description
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