QGIS API Documentation  3.9.0-Master (224899f119)
Public Member Functions | Public Attributes | List of all members
QgsRasterLayer::LayerOptions Struct Reference

Setting options for loading raster layers. More...

#include <qgsrasterlayer.h>

Public Member Functions

 LayerOptions (bool loadDefaultStyle=true, const QgsCoordinateTransformContext &transformContext=QgsCoordinateTransformContext())
 Constructor for LayerOptions. More...

Public Attributes

bool loadDefaultStyle = true
 Sets to true if the default layer style should be loaded. More...
QgsCoordinateTransformContext transformContext = QgsCoordinateTransformContext()
 Coordinate transform context. More...

Detailed Description

Setting options for loading raster layers.

QGIS 3.0

Definition at line 170 of file qgsrasterlayer.h.

Constructor & Destructor Documentation

◆ LayerOptions()

QgsRasterLayer::LayerOptions::LayerOptions ( bool  loadDefaultStyle = true,
const QgsCoordinateTransformContext transformContext = QgsCoordinateTransformContext() 

Constructor for LayerOptions.

Definition at line 176 of file qgsrasterlayer.h.

Member Data Documentation

◆ loadDefaultStyle

bool QgsRasterLayer::LayerOptions::loadDefaultStyle = true

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

Definition at line 183 of file qgsrasterlayer.h.

◆ transformContext

QgsCoordinateTransformContext QgsRasterLayer::LayerOptions::transformContext = QgsCoordinateTransformContext()

Coordinate transform context.

QGIS 3.8

Definition at line 189 of file qgsrasterlayer.h.

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