Feature layer (feature service)

Loading

Code

#ifndef FEATURE_LAYER_FEATURE_SERVICE_H
#define FEATURE_LAYER_FEATURE_SERVICE_H

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

#include <QQuickItem>

class FeatureLayerFeatureService : public QQuickItem
{
  Q_OBJECT

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

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

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 // FEATURE_LAYER_FEATURE_SERVICE_H


In this topic
  1. Code