Show / Hide Table of Contents

Method CreateAsync

CreateAsync(String)

Creates and loads a new instance of the VectorTileCache class from the specified cache path.

Declaration
public static async Task<VectorTileCache> CreateAsync(string path)
Parameters
Type Name Description
String path

The vector tile cache path which should be a .vtpk file.

Returns
Type Description
Task<VectorTileCache>

A task that represents the asynchronous operation. The value of the TResult parameter is the VectorTileCache object.

Remarks

Creates a tile cache from the given local path to a vector tile package (.vtpk) file.

Applies to

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