A job that exports vector tiles from a service, or exports an item resource cache from a portal item. More...
Header: | #include <ExportVectorTilesJob.h> |
Since: | Esri::ArcGISRuntime 100.2 |
Inherits: | Esri::ArcGISRuntime::Job |
Public Functions
virtual | ~ExportVectorTilesJob() override |
QString | itemResourcePath() const |
Esri::ArcGISRuntime::ExportVectorTilesParameters | parameters() const |
Esri::ArcGISRuntime::ExportVectorTilesResult * | result() const |
QString | vectorTileCachePath() const |
Detailed Description
This is a job returned by the ExportVectorTilesTask::exportVectorTiles or ExportVectorTilesTask::exportStyleResourceCache methods.
The result of this job is a reference to an Esri::ArcGISRuntime::ExportVectorTilesResult object. The result can be retrieved after the job status changes to JobStatus::Succeeded.
Relevant samples:
- Export vector tiles: Export tiles from an online vector tile service.
Member Function Documentation
[override virtual]
ExportVectorTilesJob::~ExportVectorTilesJob ()
Destructor.
QString ExportVectorTilesJob::itemResourcePath () const
Returns the path that the downloaded vector tile style is saved to.
If this job was created with ExportVectorTilesTask::exportVectorTiles(const Esri::ArcGISRuntime::ExportVectorTilesParameters&, const QString&), this will be an empty string.
Esri::ArcGISRuntime::ExportVectorTilesParameters ExportVectorTilesJob::parameters() const
The parameters used by the job.
Esri::ArcGISRuntime::ExportVectorTilesResult *ExportVectorTilesJob::result() const
Returns result of the successfully completed job (ExportVectorTilesResult).
If successful it will contain the downloaded vector tile cache. Otherwise empty is returned.
If the job is in progress then a empty result is returned until the job successfully completes.
QString ExportVectorTilesJob::vectorTileCachePath () const
Returns the path that the downloaded vector tile cache is saved to.
If this job was created with ExportVectorTilesTask::exportStyleResourceCache(const QString&), this will be an empty string.