QGIS API Documentation  3.23.0-Master (eb871beae0)
Public Member Functions | Public Attributes | List of all members
QgsMapLayerFactory::LayerOptions Struct Reference

Setting options for loading layers. More...

#include <qgsmaplayerfactory.h>

Public Member Functions

 LayerOptions (const QgsCoordinateTransformContext &transformContext)
 Constructor for LayerOptions with transformContext. More...
 

Public Attributes

bool loadDefaultStyle = true
 Set to true if the default layer style should be loaded. More...
 
QgsCoordinateTransformContext transformContext
 Transform context. More...
 

Detailed Description

Setting options for loading layers.

Since
QGIS 3.22

Definition at line 61 of file qgsmaplayerfactory.h.

Constructor & Destructor Documentation

◆ LayerOptions()

QgsMapLayerFactory::LayerOptions::LayerOptions ( const QgsCoordinateTransformContext transformContext)
inlineexplicit

Constructor for LayerOptions with transformContext.

Definition at line 67 of file qgsmaplayerfactory.h.

Member Data Documentation

◆ loadDefaultStyle

bool QgsMapLayerFactory::LayerOptions::loadDefaultStyle = true

Set to true if the default layer style should be loaded.

Definition at line 75 of file qgsmaplayerfactory.h.

◆ transformContext

QgsCoordinateTransformContext QgsMapLayerFactory::LayerOptions::transformContext

Transform context.

Definition at line 72 of file qgsmaplayerfactory.h.


The documentation for this struct was generated from the following file: