Class
FileMapSource

Represents a concrete MapSource implementation working with files that is used by the MapShapeReader to read the shapes.

Definition

Constructors

FileMapSource()

Initializes a new instance of the FileMapSource class.

Declaration

cs-api-definition
public FileMapSource()

FileMapSource(string, bool)

Initializes a new instance of the FileMapSource class.

Declaration

cs-api-definition
public FileMapSource(string file, bool isImportAsync = true)

Parameters

file

string

isImportAsync

bool

Properties

File

Gets or sets the path of the file.

Declaration

cs-api-definition
public string File { get; set; }

Property Value

string

IsImportAsync

Gets or sets a value indicating whether the file should be read asynchronously.

Declaration

cs-api-definition
public bool IsImportAsync { get; set; }

Property Value

bool

Operators

implicit operator FileMapSource(string)

Converts file path into a FileMapSource.

Declaration

cs-api-definition
public static implicit operator FileMapSource(string filePath)

Parameters

filePath

string

Returns

FileMapSource