Click or drag to resize

ExportVectorTilesTask Class

A task used to export vector tiles and optionally a portal item's vector tile style resources.
Inheritance Hierarchy
SystemObject
  Esri.ArcGISRuntime.Tasks.OfflineExportVectorTilesTask

Namespace:  Esri.ArcGISRuntime.Tasks.Offline
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.7.0.0
Syntax
C#
public sealed class ExportVectorTilesTask

The ExportVectorTilesTask type exposes the following members.

Properties
  NameDescription
Public propertyCredential
Gets or sets the security credential used to access a remote task.
Public propertyHasStyleResources
Gets a value indicating if the task's associated PortalItem has style resources that override the default style of the vector tile service.
Public propertyPortalItem
Gets the PortalItem representing the vector tile service associated with this task.
Public propertyServiceUri
Gets the vector tile service Uri associated with this task.
Public propertyVectorTileSourceInfo
Gets the VectorTileSourceInfo associated with the task's vector tile service.
Top
Methods
  NameDescription
Public methodStatic memberCreateAsync(PortalItem)
Initializes a new instance of the ExportVectorTilesTask class from the given PortalItem.
Public methodStatic memberCreateAsync(Uri, Credential)
Initializes a new instance of the ExportVectorTilesTask class from a vector tile service.
Public methodCreateDefaultExportVectorTilesParametersAsync
Creates default ExportVectorTilesParameters.
Public methodExportStyleResourceCache
Creates a new ExportVectorTilesJob for downloading only the ItemResourceCache containing the vector tiles custom style resource cache. The VectorTileCache itself is not downloaded.
Public methodExportVectorTiles(ExportVectorTilesParameters, String)
Creates a new ExportVectorTilesJob for downloading a VectorTileCache.
Public methodExportVectorTiles(ExportVectorTilesParameters, String, String)
Creates a new ExportVectorTilesJob for downloading a VectorTileCache and any custom vector tile styles as ItemResourceCache objects.
Top
Remarks
Vector tiles are exported as a vector tile package(.vtpk) file. A portal item can contain custom style resources overriding the vector tile services default style and this can be checked with HasStyleResources. The custom style is exported separately as an ItemResourceCache. The export vector tiles task can be initialized with a service url to the vector tile service with CreateAsync(Uri, Credential). Alternatively a portal item, referencing a vector tile service, can be used with CreateAsync(PortalItem).
See Also