Skip to main content
A newer version of this page is available. .

LayerBase.KilometersToGeoSize(GeoPoint, Size) Method

Converts the specified size in kilometers into the corresponding size in geographical points for the specified anchor point.

Namespace: DevExpress.Xpf.Map

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

Declaration

public Size KilometersToGeoSize(
    GeoPoint anchorPoint,
    Size size
)

Parameters

Name Type Description
anchorPoint GeoPoint

A GeoPoint object containing geographical coordinates for which it is necessary to convert the size.

size Size

A Size value specifying the size to be converted.

Returns

Type Description
Size

A Size in geographical points.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the KilometersToGeoSize(GeoPoint, Size) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also