23 #define PROVIDER_KEY QStringLiteral( "vectortile" )
24 #define PROVIDER_DESCRIPTION QStringLiteral( "Vector tile provider" )
26 QgsVectorTileProviderMetadata::QgsVectorTileProviderMetadata()
31 QList<QgsDataItemProvider *> QgsVectorTileProviderMetadata::dataItemProviders()
const
33 QList< QgsDataItemProvider * > providers;
34 providers <<
new QgsVectorTileDataItemProvider;
38 QMap<QString, QgsAbstractProviderConnection *> QgsVectorTileProviderMetadata::connections(
bool cached )
40 return connectionsProtected<QgsVectorTileProviderConnection, QgsVectorTileProviderConnection>( cached );
45 return new QgsVectorTileProviderConnection( name );
48 void QgsVectorTileProviderMetadata::deleteConnection(
const QString &name )
50 deleteConnectionProtected<QgsVectorTileProviderConnection>( name );
55 saveConnectionProtected( connection, name );