C# Class csGeoLayers.ShapeFiles.ShapeLayer

Afficher le fichier Open project: TNOCS/csTouch

Private Properties

Свойство Type Description
DrawPolygon void
DrawPolyline void
NotifyPropertyChanged void
_bgWorker_DoWork void
_bgWorker_RunWorkerCompleted void

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static AddKmlFile ( string filePath, GroupLayer curGrLayer ) : void
filePath string
curGrLayer GroupLayer
Résultat void

AddShapefile() public méthode

public AddShapefile ( string filePath, GroupLayer curGrLayer ) : void
filePath string
curGrLayer GroupLayer
Résultat void

GetSettings() public static méthode

public static GetSettings ( string fileName ) : ShapeLayerSettings
fileName string
Résultat ShapeLayerSettings

Init() public méthode

public Init ( ) : void
Résultat void

ReadFolder() public méthode

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
Résultat void

WriteSettings() public static méthode

public static WriteSettings ( ShapeLayerSettings settings, string fileName ) : void
settings ShapeLayerSettings
fileName string
Résultat void