Vector tiled layer (URL)

Loading

Code

#ifndef VECTOR_TILED_LAYER_URL
#define VECTOR_TILED_LAYER_URL

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

#include <QQuickItem>

class VectorTiledLayerUrl : public QQuickItem
{
  Q_OBJECT

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

  void componentComplete() Q_DECL_OVERRIDE;
  static void init();
  Q_INVOKABLE void changeBasemap(const QString& basemap);

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

#endif // VECTOR_TILED_LAYER_URL


In this topic
  1. Code