This class represents the metadata for a local cache of vector map tiles that can be used to create an ArcGISVectorTiledLayer. More...
|  Header |  #include <Vector | 
|  Since |  Esri | 
|  Inherits |  Esri | 
This class was introduced in Esri::ArcGISRuntime 100.2.
Public Functions
| Vector | |
| virtual | ~ | 
| QString | path() const | 
|  Esri | source | 
| QImage | thumbnail() const | 
Reimplemented Public Functions
| virtual void | cancel | 
| virtual void | load() override | 
|  virtual Esri | load | 
|  virtual Esri | load | 
| virtual void | retry | 
Signals
| void | done | 
| void | load | 
Detailed Description
This class is persisted as a vector tile package (*.vtpk) file on the device's file system.
Member Function Documentation
VectorTileCache::VectorTileCache  (const QString &path, QObject *parent = nullptr)   
Constructor that takes a path and an optional parent
[signal] void VectorTileCache::doneLoading (Esri::ArcGISRuntime::Error    loadError )   
Signal emitted when this object is done loading.
- loadError - Details about any error that may have occurred.
 
If there is a load error, it will also be emitted on the errorOccurred signal.
[signal] void VectorTileCache::loadStatusChanged  (Esri::ArcGISRuntime::LoadStatus     loadStatus )   
loadStatus See Loadable.
[override virtual] VectorTileCache::~VectorTileCache   ()   
Destructor
[override virtual] void VectorTileCache::cancelLoad ()   
Reimplements: Loadable::cancelLoad().
See Loadable.
[override virtual] void VectorTileCache::load()   
Reimplements: Loadable::load().
See Loadable.
[override virtual] Esri::ArcGISRuntime::Error    VectorTileCache::loadError () const   
Reimplements: Loadable::loadError() const.
See Loadable.
[override virtual] Esri::ArcGISRuntime::LoadStatus     VectorTileCache::loadStatus () const   
Reimplements: Loadable::loadStatus() const.
See Loadable.
QString VectorTileCache::path() const   
Returns the path to the source file for this vector tile cache.
[override virtual] void VectorTileCache::retryLoad ()   
Reimplements: Loadable::retryLoad().
See Loadable.
Esri::ArcGISRuntime::VectorTileSourceInfo       VectorTileCache::sourceInfo () const   
Returns information about the vector tile cache's source.
The returned VectorTileSourceInfo includes name, extent, visible scale, and so on.
QImage VectorTileCache::thumbnail() const   
Returns the thumbnail for this vector tile cache.