Service feature table (manual cache)

Loading

Code

#ifndef SERVICE_FEATURE_TABLE_MANUAL_CACHE_H
#define SERVICE_FEATURE_TABLE_MANUAL_CACHE_H

namespace Esri
{
  namespace ArcGISRuntime
  {
    class Map;
    class MapQuickView;
    class FeatureLayer;
    class ServiceFeatureTable;
  }
}

#include <QQuickItem>

class ServiceFeatureTableManualCache : public QQuickItem
{
  Q_OBJECT

public:
  explicit ServiceFeatureTableManualCache(QQuickItem* parent = nullptr);
  ~ServiceFeatureTableManualCache();

  void componentComplete() Q_DECL_OVERRIDE;
  static void init();
  Q_INVOKABLE void populate();

private:
  Esri::ArcGISRuntime::Map* m_map = nullptr;
  Esri::ArcGISRuntime::MapQuickView* m_mapView = nullptr;
  Esri::ArcGISRuntime::FeatureLayer* m_featureLayer = nullptr;
  Esri::ArcGISRuntime::ServiceFeatureTable* m_featureTable = nullptr;
};

#endif // SERVICE_FEATURE_TABLE_MANUAL_CACHE_H


In this topic
  1. Code