QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
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 74 of file qgsmaplayerfactory.h.

Constructor & Destructor Documentation

◆ LayerOptions()

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

Constructor for LayerOptions with transformContext.

Definition at line 80 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 88 of file qgsmaplayerfactory.h.

◆ transformContext

QgsCoordinateTransformContext QgsMapLayerFactory::LayerOptions::transformContext

Transform context.

Definition at line 85 of file qgsmaplayerfactory.h.


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