Open mobile map (map package)

Loading

Code

#ifndef OPEN_MOBILE_MAP_MAP_PACKAGE_H
#define OPEN_MOBILE_MAP_MAP_PACKAGE_H

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

#include <QQuickItem>

class OpenMobileMap_MapPackage : public QQuickItem
{
  Q_OBJECT

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

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

private:
  Esri::ArcGISRuntime::MapQuickView* m_mapView = nullptr;
  Esri::ArcGISRuntime::MobileMapPackage* m_mobileMapPackage = nullptr;
};

#endif // OPEN_MOBILE_MAP_MAP_PACKAGE_H


In this topic
  1. Code