Back to Devexpress

MercatorAuxiliarySphereCartesianToGeoConverter Class

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

latest3.6 KB
Original Source

MercatorAuxiliarySphereCartesianToGeoConverter Class

Converter that transforms data from the Mercator Auxiliary projected coordinate system to the geographic coordinate system.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public class MercatorAuxiliarySphereCartesianToGeoConverter :
    EllipsoidBasedCartesianToGeoConverter
vb
Public Class MercatorAuxiliarySphereCartesianToGeoConverter
    Inherits EllipsoidBasedCartesianToGeoConverter

Example

View Example

xaml
<local:MapData FileUri="Shapefiles/MercatorAux/montenegro.shp">
    <local:MapData.CoordinateSystem>
        <dxm:CartesianSourceCoordinateSystem>
            <dxm:CartesianSourceCoordinateSystem.CoordinateConverter>
                <dxm:MercatorAuxiliarySphereCartesianToGeoConverter Ellipsoid="{x:Static dxm:Ellipsoid.WGS84}"
                                                                SphereType="0" ProjectionCenter="0,0"/>
            </dxm:CartesianSourceCoordinateSystem.CoordinateConverter>
        </dxm:CartesianSourceCoordinateSystem>
    </local:MapData.CoordinateSystem>
</local:MapData>

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

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#L88

xml
<dxm:CartesianSourceCoordinateSystem.CoordinateConverter>
    <dxm:MercatorAuxiliarySphereCartesianToGeoConverter Ellipsoid="{x:Static dxm:Ellipsoid.WGS84}"
                                                    SphereType="0" ProjectionCenter="0,0"/>

Inheritance

Object DispatcherObject DependencyObject Freezable MapDependencyObject CoordinateConverterBase DevExpress.Xpf.Map.CoordinateConverterCoreWrapper EllipsoidBasedCartesianToGeoConverter MercatorAuxiliarySphereCartesianToGeoConverter

See Also

MercatorAuxiliarySphereCartesianToGeoConverter Members

DevExpress.Xpf.Map Namespace