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 |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
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
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.2.1 - 200.6 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.6 |
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.2.1 - 200.6 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.6 |