Show / Hide Table of Contents

Constructor ArcGISVectorTiledLayer

ArcGISVectorTiledLayer(Uri)

Initializes a new instance of the ArcGISVectorTiledLayer class from an ArcGIS Vector Tile Service URL, a Vector Tile Style Sheet URI, or a path to a local vector tile package (.vtpk) file.

Declaration
public ArcGISVectorTiledLayer(Uri source)
Parameters
Type Name Description
System.Uri source

ArcGIS Vector Tile Service URL, an ArcGIS Vector Tile Style Sheet URI, or a path to a local vector tile package (.vtpk) file.

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 System.Uri sources.

Exceptions
Type Condition
System.ArgumentNullException

source

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.2 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8

ArcGISVectorTiledLayer(Item)

Initializes a new instance of the ArcGISVectorTiledLayer class from the specified Item.

Declaration
public ArcGISVectorTiledLayer(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 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8

ArcGISVectorTiledLayer(VectorTileCache)

Initializes a new instance of the ArcGISVectorTiledLayer class from the specified VectorTileCache.

Declaration
public ArcGISVectorTiledLayer(VectorTileCache vectorTileCache)
Parameters
Type Name Description
VectorTileCache vectorTileCache

A VectorTileCache created from a vector tile package (.vtpk).

Remarks

You can download a vector tile cache by using the ExportVectorTilesTask.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.2.1 - 200.8
Xamarin.Android100.2.1 - 100.15
Xamarin.iOS100.2.1 - 100.15
UWP100.2.1 - 200.8

ArcGISVectorTiledLayer(VectorTileCache, ItemResourceCache)

Initializes a new instance of the ArcGISVectorTiledLayer class from the specified VectorTileCache and ItemResourceCache.

Declaration
public ArcGISVectorTiledLayer(VectorTileCache vectorTileCache, ItemResourceCache itemResourceCache)
Parameters
Type Name Description
VectorTileCache vectorTileCache

A VectorTileCache created from a vector tile package (.vtpk).

ItemResourceCache itemResourceCache

An ItemResourceCache representing a vector tile style.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.2.1 - 200.8
Xamarin.Android100.2.1 - 100.15
Xamarin.iOS100.2.1 - 100.15
UWP100.2.1 - 200.8
In This Article
Back to top Copyright © 2022 Esri.