Property Source
Source
Gets or sets the endpoint of the map service or the path to a local tile package.
Declaration
[TypeConverter(typeof(StringToUriConverter))]
public Uri Source { get; set; }
Property Value
Type | Description |
---|---|
System.Uri | The endpoint of the map service or the path to a local tile package. |
Remarks
The source URI can point to either a local file path (i.e. file://c:/data/mapdata.tpk) or a map service URL (i.e. http://services.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer).
In Windows Universal applications, you can also use ms-appx:///
and ms-appdata:///
paths to point to
local tile packages in the app or app data folders.
This property cannot be set after the layer is loaded.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |