16 #ifndef QGSVECTORTILELAYER_H
17 #define QGSVECTORTILELAYER_H
19 #include "qgis_core.h"
89 explicit QgsVectorTileLayer(
const QString &path = QString(),
const QString &baseName = QString() );
100 bool writeXml( QDomNode &layerNode, QDomDocument &doc, const
QgsReadWriteContext &context ) const override;
102 bool readSymbology( const QDomNode &node, QString &errorMessage,
105 bool writeSymbology( QDomNode &node, QDomDocument &doc, QString &errorMessage, const
QgsReadWriteContext &context,
106 StyleCategories categories = AllStyleCategories ) const override;
109 QString loadDefaultStyle(
bool &resultFlag
SIP_OUT ) override;
122 bool loadDefaultStyle( QString &error, QStringList &warnings )
SIP_SKIP;
124 QString loadDefaultMetadata(
bool &resultFlag
SIP_OUT ) override;
127 QString decodedSource( const QString &source, const QString &provider, const
QgsReadWriteContext &context ) const
FINAL;
128 QString htmlMetadata() const override;
133 QString sourceType()
const {
return mSourceType; }
173 bool loadDataSource();
181 int mSourceMinZoom = -1;
183 int mSourceMaxZoom = -1;
186 std::unique_ptr<QgsVectorTileRenderer> mRenderer;
188 std::unique_ptr<QgsVectorTileLabeling> mLabeling;
190 bool mTileBorderRendering =
false;
192 QVariantMap mArcgisLayerConfiguration;
194 bool setupArcgisVectorTileServiceConnection(
const QString &uri,
const QgsDataSourceUri &dataSourceUri );
198 #endif // QGSVECTORTILELAYER_H