ArcGIS Runtime SDK for Qt

Show magnifier

Loading

Code

#ifndef SHOW_MAGNIFIER_H
#define SHOW_MAGNIFIER_H

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

#include <QQuickItem>

class ShowMagnifier : public QQuickItem
{
  Q_OBJECT

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

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

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

#endif // SHOW_MAGNIFIER_H


In this topic
  1. Code