windowsforms-devexpress-dot-xtramap-cc7f4038.md
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
public class CartesianMapCoordinateSystem :
MapCoordinateSystem
Public Class CartesianMapCoordinateSystem
Inherits MapCoordinateSystem
An object of CartesianMapCoordinateSystem class can be assigned to the MapControl.CoordinateSystem property.
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();
}
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
Object MapCoordinateSystem CartesianMapCoordinateSystem
See Also