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 |
|---|---|---|
| Uri | source | The service URI. |
Remarks
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 Uri sources.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException |
|
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.14 |
Relevant samples
Display layer view state: Determine if a layer is currently being viewed.
Export tiles: Download tiles to a local tile cache file stored on the device.
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 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |
Relevant samples
Edit and sync features: Synchronize offline edits with a feature service.
Export tiles: Download tiles to a local tile cache file stored on the device.
Generate geodatabase: Generate a local geodatabase from an online feature service.
Offline geocode: Geocode addresses to locations and reverse geocode locations to addresses offline.
Offline routing: Solve a route on-the-fly using offline data.
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
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |