Class MapSource
Base class for all sources that may be used by the Map
Inherited Members
Namespace: Telerik.Maui.Controls.Map
Assembly: Telerik.Maui.Controls.dll
Syntax
public abstract class MapSource : NotifyPropertyChangedBase, INotifyPropertyChanged
Constructors
MapSource()
Declaration
protected MapSource()
Methods
FromFile(String)
Loads the Map
Declaration
public static MapSource FromFile(string file)
Parameters
System. The path of the file. |
Returns
Map The Map |
FromResource(String, Assembly)
Loads the Map
Declaration
public static MapSource FromResource(string resource, Assembly sourceAssembly = null)
Parameters
System. The name of the resource that needs to be loaded. |
System. The System. |
Returns
Map The Map |
FromResource(String, Type)
Loads the Map
Declaration
public static MapSource FromResource(string resource, Type resolvingType)
Parameters
System. The name of the resource that needs to be loaded. |
System. The type of the page inside which the resource resides. |
Returns
Map The Map |
FromStream(Stream)
Loads the Map
Declaration
public static MapSource FromStream(Stream stream)
Parameters
System. The stream from which the shape should be read. |
Returns
Map The Map |
Operators
Implicit(Stream to MapSource)
Converts stream into a Map
Declaration
public static implicit operator MapSource(Stream stream)
Parameters
System.
|
Returns
Implicit(String to MapSource)
Converts string into a Map
Declaration
public static implicit operator MapSource(string source)
Parameters
System.
|