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 of the service. Be careful when
you provide a large areaOfInterest
or a small maxScale
value as
this could result in a large number of tiles being requested. If the number of tiles requested
exceeds the service's maximum export tile count, the ExportVectorTilesJob will fail.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.8 |
.NET | 100.13 - 200.8 |
.NET Windows | 100.13 - 200.8 |
.NET Android | 200.0 - 200.8 |
.NET iOS | 200.0 - 200.8 |
.NET Framework | 100.2.1 - 200.8 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.8 |