46      u.
layerType = QStringLiteral( 
"vector-tile" );
 
   49      u.
layerType = QStringLiteral( 
"pointcloud" );
 
   58      u.
layerType = QStringLiteral( 
"annotation" );
 
   61      u.
layerType = QStringLiteral( 
"tiled-scene" );
 
 
   73  return mProviderKey == other.mProviderKey
 
   74         && mType == other.mType
 
   75         && mFlags == other.mFlags
 
   77         && mLayerNumber == other.mLayerNumber
 
   78         && mName == other.mName
 
   79         && mDescription == other.mDescription
 
   80         && mFeatureCount == other.mFeatureCount
 
   81         && mGeometryColumnName == other.mGeometryColumnName
 
   82         && mPath == other.mPath
 
   83         && mWkbType == other.mWkbType
 
   84         && mSkippedContainerScan == other.mSkippedContainerScan
 
   85         && mDriverName == other.mDriverName;
 
 
   90  return !( *
this == other );
 
 
@ Group
Composite group layer. Added in QGIS 3.24.
 
@ Plugin
Plugin based layer.
 
@ TiledScene
Tiled scene layer. Added in QGIS 3.34.
 
@ Annotation
Contains freeform, georeferenced annotations. Added in QGIS 3.16.
 
@ VectorTile
Vector tile layer. Added in QGIS 3.14.
 
@ Mesh
Mesh layer. Added in QGIS 3.2.
 
@ PointCloud
Point cloud layer. Added in QGIS 3.18.
 
static QgsMapLayer * createLayer(const QString &uri, const QString &name, Qgis::LayerType type, const LayerOptions &options, const QString &provider=QString())
Creates a map layer, given a uri, name, layer type and provider name.
 
Base class for all map layer types.
 
Contains details about a sub layer available from a dataset.
 
bool operator!=(const QgsProviderSublayerDetails &other) const
 
QgsMimeDataUtils::Uri toMimeUri() const
Converts the sublayer details to a QgsMimeDataUtils::Uri representing the sublayer.
 
QgsMapLayer * toLayer(const LayerOptions &options) const
Creates a new QgsMapLayer object associated with the sublayer.
 
bool operator==(const QgsProviderSublayerDetails &other) const
 
Setting options for loading layers.
 
bool loadAllStoredStyles
Controls whether the stored styles will be all loaded.
 
bool loadDefaultStyle
Set to true if the default layer style should be loaded.
 
Qgis::WkbType wkbType
WKB type, if associated with a vector layer, or QgsWkbTypes::Unknown if not yet known.
 
QString uri
Identifier of the data source recognized by its providerKey.
 
QString name
Human readable name to be used e.g. in layer tree.
 
QString providerKey
For "vector" / "raster" type: provider id.
 
QString layerType
Type of URI.
 
Setting options for loading layers.
 
QgsCoordinateTransformContext transformContext
Coordinate transform context.
 
bool loadDefaultStyle
Set to true if the default layer style should be loaded.
 
bool loadAllStoredStyle
Controls whether the stored styles will be all loaded.