New to Telerik UI for .NET MAUIStart a free 30-day trial

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

Definition

Constructors

Initializes a new instance of the FileMapSource class.

C#
public FileMapSource()

Initializes a new instance of the FileMapSource class.

C#
public FileMapSource(string file, bool isImportAsync = true)
Parameters:filestringisImportAsyncbool

Properties

Gets or sets the path of the file.

C#
public string File { get; set; }

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

C#
public bool IsImportAsync { get; set; }

Operators

Converts file path into a FileMapSource.

C#
public static implicit operator FileMapSource(string filePath)
Parameters:filePathstringReturns:

FileMapSource