Constructor ArcGISTiledLayer
ArcGISTiledLayer(Uri)
Initializes a new instance of the ArcGISTiledLayer class from the specified URI.
Declaration
public ArcGISTiledLayer(Uri source)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Uri | source | The URI to the REST endpoint of an ArcGIS map service or ArcGIS map service portal item, or the path to a local tile package(.tpk/.tpkx). | 
Remarks
If the specified URI is a map service URL, the MapServer must have "Single Fused Map Cache" set
to true in its ArcGIS REST Services Directory. If the specified URI is a portal item URL
the underlying Item will be created and accessible through Item.
See the Source property for examples of supported System.Uri sources.
Exceptions
| Type | Condition | 
|---|---|
| System.ArgumentNullException | 
 | 
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.2 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.0 - 200.8 | 
| Xamarin.Android | 100.0 - 100.14 | 
| Xamarin.iOS | 100.0 - 100.15 | 
| UWP | 100.0 - 200.8 | 
Relevant samples
ArcGISTiledLayer(TileCache)
Initializes a new instance of the ArcGISTiledLayer class from a local TileCache.
Declaration
public ArcGISTiledLayer(TileCache tileCache)Parameters
| Type | Name | Description | 
|---|---|---|
| TileCache | tileCache | The local TileCache object. | 
Exceptions
| Type | Condition | 
|---|---|
| System.ArgumentNullException | 
 | 
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.0 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.0 - 200.8 | 
| Xamarin.Android | 100.0 - 100.15 | 
| Xamarin.iOS | 100.0 - 100.15 | 
| UWP | 100.0 - 200.8 | 
Relevant samples
ArcGISTiledLayer(Item)
Initializes a new instance of the ArcGISTiledLayer class from the specified Item.
Declaration
public ArcGISTiledLayer(Item item)Parameters
| Type | Name | Description | 
|---|---|---|
| Item | item | The ArcGIS Item | 
Remarks
The item's type should be MapService. The Item will be accessible through the Item property.
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.0 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.0 - 200.8 | 
| Xamarin.Android | 100.0 - 100.15 | 
| Xamarin.iOS | 100.0 - 100.15 | 
| UWP | 100.0 - 200.8 |