Back to Devexpress

SourceCoordinateSystem.CoordinateConverter Property

wpf-devexpress-dot-xpf-dot-map-dot-sourcecoordinatesystem.md

latest2.9 KB
Original Source

SourceCoordinateSystem.CoordinateConverter Property

Gets or sets the coordinate converter used by the SourceCoordinateSystem object.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public CoordinateConverterBase CoordinateConverter { get; set; }
vb
Public Property CoordinateConverter As CoordinateConverterBase

Property Value

TypeDescription
CoordinateConverterBase

A CoordinateConverterBase class descendant object.

|

Example

View Example

xaml
<local:MapData FileUri="Shapefiles/TransverseMercator/israel.shp">
    <local:MapData.CoordinateSystem>
        <dxm:CartesianSourceCoordinateSystem>
            <dxm:CartesianSourceCoordinateSystem.CoordinateConverter>
                <dxm:UTMCartesianToGeoConverter UtmZone="36" Hemisphere="Northern"/>
            </dxm:CartesianSourceCoordinateSystem.CoordinateConverter>
        </dxm:CartesianSourceCoordinateSystem>
    </local:MapData.CoordinateSystem>
</local:MapData>

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.

map-wpf-manually-load-a-cartesian-map-shapefile/CS/BuildInCoordinateConverters/MainWindow.xaml#L35

xml
<dxm:CartesianSourceCoordinateSystem>
    <dxm:CartesianSourceCoordinateSystem.CoordinateConverter>
        <dxm:AlbersEqualAreaConicCartesianToGeoConverter StandardParallelN="60.0" StandardParallelS="20.0"

See Also

SourceCoordinateSystem Class

SourceCoordinateSystem Members

DevExpress.Xpf.Map Namespace