Click or drag to resize

ExportVectorTilesTaskCreateDefaultExportVectorTilesParametersAsync Method

Creates default ExportVectorTilesParameters.

Namespace:  Esri.ArcGISRuntime.Tasks.Offline
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
public Task<ExportVectorTilesParameters> CreateDefaultExportVectorTilesParametersAsync(
	Geometry areaOfInterest,
	double maxScale


Type: Esri.ArcGISRuntime.GeometryGeometry
A Geometry specifying the area to be exported. Must not be null.
Type: SystemDouble
The map scale '1:maxScale' which determines how many tiles to take offline. Can be 0 to indicate all levels of detail in the service.

Return Value

Type: TaskExportVectorTilesParameters
A task that represents the asynchronous operation. The value of the TResult parameter is the ExportVectorTilesParameters object.
This method makes use of the vector tile service metadata to populate an ExportVectorTilesParameters object. The supported geometry types for the area of interest are Envelope and Polygon. The area of interest must have a spatial reference. Where a Polygon is supplied, tiles will be filtered according to the polygon geometry, which can help reduce the size of the resulting tile package. Note that the filtered set of tiles may vary, depending on the underlying service. A maxScale of 0 will include all levels of detail for the service. Be careful when combining a large areaOfInterest and a small maxScale value as this can result in a large number of tiles causing export to fail due to exceeding the services maximum export tile count.
See Also