Class: QgsMapBoxGlStyleRasterSubLayer

class qgis.core.QgsMapBoxGlStyleRasterSubLayer

Bases: sip.wrapper

Encapsulates a MapBox GL style raster sub layer.

Warning

This is private API only, and may change in future QGIS versions

New in version 3.28.

QgsMapBoxGlStyleRasterSubLayer(id: str, source: str) Constructor for QgsMapBoxGlStyleRasterSubLayer, with the given id and source.

QgsMapBoxGlStyleRasterSubLayer(QgsMapBoxGlStyleRasterSubLayer)

Methods

dataDefinedProperties

Returns a reference to the layer's data defined properties.

id

Returns the layer's ID.

source

Returns the layer's source.

dataDefinedProperties(self) QgsPropertyCollection

Returns a reference to the layer’s data defined properties.

Return type:

QgsPropertyCollection

id(self) str

Returns the layer’s ID.

Return type:

str

source(self) str

Returns the layer’s source.

Return type:

str