The parameters that specify how a vector tile cache (.vtpk) is exported from a vector tile service using an ExportVectorTilesJob. To generate parameters populated with values from the vector tile service, call ExportVectorTilesTask.createDefaultExportVectorTilesParameters(Geometry, Double). You can then modify these parameters with any desired changes. Alternatively, you can generate an empty set of parameters using ExportVectorTilesParameters.ExportVectorTilesParameters() and set the parameter values individually. To export the vector tile cache, create an ExportVectorTilesJob, pass the parameters to the ExportVectorTilesTask.createExportVectorTilesJob(ExportVectorTilesParameters, String) method and provide a path where the .vtpk file can be downloaded to on the device.

You can also use the ExportVectorTilesParameters to provide more fine-grained control over the vector tiles that are exported when an offline map is generated. For more information, see the GenerateOfflineMapParameterOverrides class.




Link copied to clipboard

Creates a new export vector tiles parameters instance.


Link copied to clipboard

Area of interest geometry. May be set to null to specify retrieval of the full vector tiles extent. 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.

Link copied to clipboard

Describes how Esri vector tiled basemap layers will be downloaded. This property lets you choose how to download Esri vector tiled basemap layers. This property only applies when taking an Esri vector tile basemap service offline.

Link copied to clipboard

The maximum level of detail at which the vector tiles are going to be exported. This represents the maximum level of detail to export. The vector tile export will always take levels 0 and all in between levels up to and including the value of max level. The larger the level the more tiles will be included. The default value is -1, which must be set to a valid value >= 0.


Link copied to clipboard