Class: QgsMapLayerType

class qgis.core.QgsMapLayerType(value)

Bases: enum.IntEnum

Types of layers that can be added to a map

New in version 3.8.

  • VectorLayer:

  • RasterLayer:

  • PluginLayer:

  • MeshLayer: Added in 3.2

MeshLayer = 3
PluginLayer = 2
RasterLayer = 1
VectorLayer = 0