Show / Hide Table of Contents

Method CreateDefaultExportVectorTilesParametersAsync

CreateDefaultExportVectorTilesParametersAsync(Geometry, Double)

Creates default ExportVectorTilesParameters.

Declaration
public Task<ExportVectorTilesParameters> CreateDefaultExportVectorTilesParametersAsync(Geometry areaOfInterest, double maxScale)
Parameters
Type Name Description
Geometry areaOfInterest

A Geometry specifying the area to be exported. Must not be null.

System.Double maxScale

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.

Returns
Type Description
System.Threading.Tasks.Task<ExportVectorTilesParameters>

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

Remarks

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.

Applies to

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