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
Added in version 3.28.
QgsMapBoxGlStyleRasterSubLayer(id: Optional[str], source: Optional[str]) Constructor for
QgsMapBoxGlStyleRasterSubLayer
, with the givenid
andsource
.QgsMapBoxGlStyleRasterSubLayer(a0:
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