|Import Statement:||import Esri.ArcGISRuntime 100.8|
Use the ExportVectorTilesTask::createDefaultExportTileCacheParameters method to generate parameters with the service defaults preset, and then modify these parameters with any desired changes.
areaOfInterest : Geometry
The geographic area (Polygon or Envelope) for which vector tiles are needed.
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.
The maximum level of detail that should be included in the vector tile cache.
Note: This must be set to a valid value greater than or equal to 0.
The task will export level 0 and all levels up to and including the set value.