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 |
Double | maxScale | The map scale '1: |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ExportVectorTilesParameters> | A task that represents the asynchronous operation. The value of the |
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.2.1 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 100.15 |