Show / Hide Table of Contents

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

source

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.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

tileCache

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.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

The Item will be accessible through the Item property.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15
In This Article
Back to top Copyright © 2022 Esri.