Complete Qt6 migration: full clean build green across groups G1-G12 incl. runtime plugin set
new_docker_build.sh gains Group 12 (212 GUI/Data plugins); fixes LtsUtilsGuiDds visibility (LTO-stripped exports), LtsProjectionWorkstation unity name shadow, 6 unity-off dirs (dup file-scope statics, ddsftc INTERFACE sources) and reconfigures BUILD_FILTERMANAGEMENT/BUILD_PLUGINS_SERVICEMONITOR=ON
This commit is contained in:
1718 files changed
+126739
-18495
No files matched your search
@@ -0,0 +1,50 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* Tile Map Service Layer for Esri
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* License: BSD 2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <TiledMapServiceLayer.h>
|
||||
#include <QNetworkReply>
|
||||
|
||||
class QNetworkAccessManager;
|
||||
|
||||
namespace EsriExtension
|
||||
{
|
||||
|
||||
/** A small Wrapper around EsriRuntimeQt::TiledMapServiceLayer to
|
||||
* be able to access a tile map service through Qt Runtime SDK.
|
||||
* Sadly Esri does not provide this layer for Qt...
|
||||
* so we have to write one on our own
|
||||
* It's far from perfect but works for our needs.
|
||||
* It was only tested with geoserver 2.8 and EPSG:23632 projection
|
||||
*/
|
||||
class TMSLayer : public EsriRuntimeQt::TiledMapServiceLayer
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit TMSLayer(const QString &url, QObject *parent = nullptr);
|
||||
~TMSLayer();
|
||||
|
||||
void initialize() override;
|
||||
private Q_SLOTS:
|
||||
void replyBaseXmlFinished(QNetworkReply *reply);
|
||||
void replyBaseXmlError(QNetworkReply::NetworkError);
|
||||
void onRequestTMSTile(int level, int col, int row);
|
||||
private:
|
||||
void cleanupNetworkReply(QNetworkReply *reply);
|
||||
private:
|
||||
QMap<int, QString> m_tileUrls;
|
||||
QMap<int, int> m_tilesYAxis;
|
||||
QString m_extension;
|
||||
QNetworkAccessManager *m_nam;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user