C# Class csGeoLayers.ShapeFiles.ShapeLayer

Mostra file Open project: TNOCS/csTouch

Private Properties

Property Type Description
DrawPolygon void
DrawPolyline void
NotifyPropertyChanged void
_bgWorker_DoWork void
_bgWorker_RunWorkerCompleted void

Public Methods

Method Description
AddKmlFile ( string filePath, GroupLayer curGrLayer ) : void
AddShapefile ( string filePath, GroupLayer curGrLayer ) : void
GetSettings ( string fileName ) : ShapeLayerSettings
Init ( ) : void
ReadFolder ( string path, GroupLayer curGrLayer ) : void

Reads the folder that is configured in the settings and creates layers for the files in the folders.

WriteSettings ( ShapeLayerSettings settings, string fileName ) : void

Private Methods

Method Description
DrawPolygon ( IEnumerable points, GraphicsLayer gl, ShapeLayerSettings settings ) : void
DrawPolyline ( IEnumerable points, GraphicsLayer gl, ShapeLayerSettings settings ) : void
NotifyPropertyChanged ( String info ) : void
_bgWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
_bgWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

Method Details

AddKmlFile() public static method

public static AddKmlFile ( string filePath, GroupLayer curGrLayer ) : void
filePath string
curGrLayer GroupLayer
return void

AddShapefile() public method

public AddShapefile ( string filePath, GroupLayer curGrLayer ) : void
filePath string
curGrLayer GroupLayer
return void

GetSettings() public static method

public static GetSettings ( string fileName ) : ShapeLayerSettings
fileName string
return ShapeLayerSettings

Init() public method

public Init ( ) : void
return void

ReadFolder() public method

Reads the folder that is configured in the settings and creates layers for the files in the folders.
public ReadFolder ( string path, GroupLayer curGrLayer ) : void
path string
curGrLayer GroupLayer
return void

WriteSettings() public static method

public static WriteSettings ( ShapeLayerSettings settings, string fileName ) : void
settings ShapeLayerSettings
fileName string
return void