Back to Devexpress

SourceCoordinateSystem.CoordinateConverter Property

windowsforms-devexpress-dot-xtramap-dot-sourcecoordinatesystem.md

latest2.8 KB
Original Source

SourceCoordinateSystem.CoordinateConverter Property

Gets or sets a coordinate converter.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
[DefaultValue(null)]
public ICoordPointConverter CoordinateConverter { get; set; }
vb
<DefaultValue(Nothing)>
Public Property CoordinateConverter As ICoordPointConverter

Property Value

TypeDefaultDescription
ICoordPointConverternull

An object, implementing the ICoordPointConverter interface.

|

Remarks

This property should be specified if coordinate systems of a map control and a data adapter are different.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CoordinateConverter property.

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.

winforms-map-load-cartesian-data-to-a-map-control-with-a-coordinate-converter/CS/BuildInCoordinateConverters/Form1.cs#L104

csharp
public override string ToString() {
    return String.Format("{0}; with {1}", Filepath, CoordinateSystem.CoordinateConverter);
}

winforms-map-load-cartesian-data-to-a-map-control-with-a-coordinate-converter/VB/BuildInCoordinateConverters/Form1.vb#L59

vb
Public Overrides Function ToString() As String
    Return String.Format("{0}; with {1}", Filepath, CoordinateSystem.CoordinateConverter)
End Function

See Also

SourceCoordinateSystem Class

SourceCoordinateSystem Members

DevExpress.XtraMap Namespace