Class: QgsVectorLayerTemporalContext¶
Encapsulates the context in which a QgsVectorLayer’s
temporal capabilities will be applied.
Added in version 3.14.
Methods
Returns the associated layer. |
|
Sets the associated layer. |
- class qgis.core.QgsVectorLayerTemporalContext[source]¶
Bases:
object- layer(self) QgsVectorLayer | None[source]¶
Returns the associated layer.
See also
- Return type:
Optional[QgsVectorLayer]
- setLayer(self, layer: QgsVectorLayer | None)[source]¶
Sets the associated
layer.See also
- Parameters:
layer (Optional[QgsVectorLayer])