SimpleRenderer

Loading

Code

#ifndef SIMPLE_RENDERER_H
#define SIMPLE_RENDERER_H

namespace Esri
{
  namespace ArcGISRuntime
  {
    class Map;
    class MapQuickView;
    class GraphicsOverlay;
    class Point;
  }
}

#include <QQuickItem>

class Simple_Renderer : public QQuickItem
{
  Q_OBJECT

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

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

private:
  void addPoint(Esri::ArcGISRuntime::Point &point);

private:
  Esri::ArcGISRuntime::Map* m_map = nullptr;
  Esri::ArcGISRuntime::MapQuickView* m_mapView = nullptr;
  Esri::ArcGISRuntime::GraphicsOverlay* m_graphicsOverlay = nullptr;
};

#endif // SIMPLE_RENDERER_H


In this topic
  1. Code