Class: QgsMapBoxGlStyleRasterSubLayer

Encapsulates a MapBox GL style raster sub layer.

Warning

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

Added in version 3.28.

List of all members, including inherited members

Methods

dataDefinedProperties

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

id

Returns the layer's ID.

source

Returns the layer's source.

class qgis.core.QgsMapBoxGlStyleRasterSubLayer[source]

Bases: object

__init__(id: str | None, source: str | None)

Constructor for QgsMapBoxGlStyleRasterSubLayer, with the given id and source.

Parameters:
  • id (Optional[str])

  • source (Optional[str])

__init__(a0: QgsMapBoxGlStyleRasterSubLayer)
Parameters:

a0 (QgsMapBoxGlStyleRasterSubLayer)

dataDefinedProperties(self) QgsPropertyCollection

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

Return type:

QgsPropertyCollection

id(self) str[source]

Returns the layer’s ID.

Return type:

str

source(self) str[source]

Returns the layer’s source.

Return type:

str