Skip To Content ArcGIS for Developers Sign In Dashboard

ExportVectorTilesParameters Class

(Esri::ArcGISRuntime::ExportVectorTilesParameters)

The parameters for exporting a vector tile cache with an ExportVectorTilesTask. More...

Header: #include <ExportVectorTilesParameters>
Since: Esri::ArcGISRuntime 100.2

Public Functions

ExportVectorTilesParameters()
ExportVectorTilesParameters(const Geometry &areaOfInterest)
ExportVectorTilesParameters(const ExportVectorTilesParameters &other)
ExportVectorTilesParameters(ExportVectorTilesParameters &&other)
~ExportVectorTilesParameters()
Geometry areaOfInterest() const
int maxLevel() const
void setAreaOfInterest(const Geometry &areaOfInterest)
void setMaxLevel(int maxLevel)
ExportVectorTilesParameters &operator=(const ExportVectorTilesParameters &other)
ExportVectorTilesParameters &operator=(ExportVectorTilesParameters &&other)

Detailed Description

The parameters for exporting a vector tile cache with an ExportVectorTilesTask.

Use ExportVectorTilesTask::createDefaultExportVectorTilesParameters to generate parameters with the service defaults preset, and then modify these parameters with any desired changes.

Member Function Documentation

ExportVectorTilesParameters::ExportVectorTilesParameters()

Default constructor.

ExportVectorTilesParameters::ExportVectorTilesParameters(const Geometry &areaOfInterest)

Constructor that takes an areaOfInterest Geometry.

ExportVectorTilesParameters::ExportVectorTilesParameters(const ExportVectorTilesParameters &other)

Copy constructor from other ExportVectorTilesParameters.

ExportVectorTilesParameters::ExportVectorTilesParameters(ExportVectorTilesParameters &&other)

Move constructor from other ExportVectorTilesParameters.

ExportVectorTilesParameters::~ExportVectorTilesParameters()

Destructor

Geometry ExportVectorTilesParameters::areaOfInterest() const

Returns a Geometry that defines the geographic area for which vector tiles are needed.

See also setAreaOfInterest.

int ExportVectorTilesParameters::maxLevel() const

Returns the maximum level of detail that should be included in the vector tile cache.

See also setMaxLevel().

void ExportVectorTilesParameters::setAreaOfInterest(const Geometry &areaOfInterest)

Sets the the Geometry (Polygon or Envelope) that defines the geographic area for which vector tiles are needed to areaOfInterest.

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.

See also areaOfInterest().

void ExportVectorTilesParameters::setMaxLevel(int maxLevel)

Sets the the maximum level of detail that should be included in the vector tile cache to maxLevel.

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.

See also maxLevel().

ExportVectorTilesParameters &ExportVectorTilesParameters::operator=(const ExportVectorTilesParameters &other)

Assignment operator from other ExportVectorTilesParameters.

ExportVectorTilesParameters &ExportVectorTilesParameters::operator=(ExportVectorTilesParameters &&other)

Move operator from other ExportVectorTilesParameters.


Feedback on this topic?