CoordinateSystemDataAdapterBase.SourceCoordinateSystem Property

Gets or sets the coordinate system of a data adapter.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v20.1.dll

Declaration

public SourceCoordinateSystem SourceCoordinateSystem { get; set; }
Public Property SourceCoordinateSystem As SourceCoordinateSystem

Property Value

Type Description
SourceCoordinateSystem

A SourceCoordinateSystem class descendant object.

Examples

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