Back to Devexpress

CartesianMapCoordinateSystem Class

windowsforms-devexpress-dot-xtramap-cc7f4038.md

latest2.2 KB
Original Source

CartesianMapCoordinateSystem Class

This class allows use of the Cartesian coordinate system for the Map Control.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public class CartesianMapCoordinateSystem :
    MapCoordinateSystem
vb
Public Class CartesianMapCoordinateSystem
    Inherits MapCoordinateSystem

Remarks

An object of CartesianMapCoordinateSystem class can be assigned to the MapControl.CoordinateSystem property.

Example

View Example

csharp
void SetCartesianMapCartesianData() {
    imageLayer.Visible = false;

    Uri baseUri = new Uri(System.Reflection.Assembly.GetEntryAssembly().Location);
    Adapter.FileUri = new Uri(baseUri, cartesianMapCartesianDataFile);
    Adapter.SourceCoordinateSystem = new CartesianSourceCoordinateSystem();

    mapControl.CoordinateSystem = new CartesianMapCoordinateSystem();
}
vb
Private Sub SetCartesianMapCartesianData()
    imageLayer.Visible = False

    Dim baseUri As New Uri(System.Reflection.Assembly.GetEntryAssembly().Location)
    Adapter.FileUri = New Uri(baseUri, cartesianMapCartesianDataFile)
    Adapter.SourceCoordinateSystem = New CartesianSourceCoordinateSystem()

    mapControl.CoordinateSystem = New CartesianMapCoordinateSystem()
End Sub

Inheritance

Object MapCoordinateSystem CartesianMapCoordinateSystem

See Also

CartesianMapCoordinateSystem Members

DevExpress.XtraMap Namespace