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 givenid
andsource
.QgsMapBoxGlStyleRasterSubLayer(
QgsMapBoxGlStyleRasterSubLayer
)Methods
Returns a reference to the layer's data defined properties.
Returns the layer's ID.
Returns the layer's source.
- dataDefinedProperties(self) QgsPropertyCollection ¶
Returns a reference to the layer’s data defined properties.
- Return type:
- id(self) str ¶
Returns the layer’s ID.
- Return type:
str
- source(self) str ¶
Returns the layer’s source.
- Return type:
str