Class FileMapSource
Represents a concrete MapSource implementation working with files that is used by the MapShapeReader to read the shapes.
Inherited Members
Namespace: Telerik.Maui.Controls.Map
Assembly: Telerik.Maui.Controls.dll
Syntax
public class FileMapSource : MapSource, INotifyPropertyChanged
Constructors
FileMapSource()
FileMapSource(String, Boolean)
Initializes a new instance of the FileMapSource class.
Declaration
public FileMapSource(string file, bool isImportAsync = true)
Parameters
System.String
file
|
System.Boolean
isImportAsync
|
Properties
File
Gets or sets the path of the file.
Declaration
public string File { get; set; }
Property Value
System.String
|
IsImportAsync
Gets or sets a value indicating whether the file should be read asynchronously.
Declaration
public bool IsImportAsync { get; set; }
Property Value
System.Boolean
|
Operators
Implicit(String to FileMapSource)
Converts file path into a FileMapSource.
Declaration
public static implicit operator FileMapSource(string filePath)
Parameters
System.String
filePath
|
Returns
FileMapSource
|