A newer version of this page is available. Switch to the current version.

MapControl.CoordinateSystem Property

Gets or sets the map coordinate system used by a map control.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v18.2.dll


public MapCoordinateSystem CoordinateSystem { get; set; }

Property Value

Type Description

A MapCoordinateSystem class descendant object.


void SetGeoMapGeoData() {
    imageLayer.Visible = false;

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

    mapControl.CoordinateSystem = new GeoMapCoordinateSystem();
See Also