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 |
System.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 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.2.1 - 200.5 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.5 |