OptionalattributesOther <maplayer> attributes, such as autoRefreshMode, styleCategories, or simplifyDrawingTol.
OptionalblendQPainter composition mode used to draw the layer, as a QGIS blend mode number.
OptionalcrsLayer CRS. Assigning it does not transform geographic data.
OptionalcustomPlugin and application properties stored with the layer.
OptionalelevationElevation and profile settings (<elevation>).
OptionalextentLayer extent in its CRS coordinate units.
OptionalflagsLayer flags (<flags>): Identifiable, Removable, Searchable, and Private, as 1 or 0.
ReadonlyidUnique ID with at least 11 UTF-16 code units, fixed for the layer's life: tree, drawing-order, and other references use it. A layer with another ID is another layer. Shorter IDs are rejected on serialization, including when read from XML.
OptionallegendLegend settings (<legend>), such as type and showLabelLegend.
OptionallegendText drawn on legend symbols (<legend><text-on-symbol>), vector layers only.
OptionalmapMap tip HTML template.
OptionalmapWhether the map tip is enabled.
OptionalmaxQGIS maxScale denominator. Applied when scaleBasedVisibility is enabled.
OptionalmetadataDescriptive layer metadata.
OptionalminQGIS minScale denominator. Applied when scaleBasedVisibility is enabled.
Layer name, also written to its tree references.
OptionalnotesUser notes (<userNotes value>), often HTML.
OptionalopacityLayer opacity: 0 is transparent and 1 is opaque in QGIS.
QGIS provider identifier, such as ogr, gdal, memory, or wms.
OptionalproviderProvider character encoding.
OptionalrendererTiled scene renderer.
Optionalrenderer3d3D renderer type and settings; nested 3D symbols stay in extension data.
OptionalscaleWhether scale-based visibility limits are enabled.
OptionalserverPublishing settings used by QGIS Server and legends.
Provider connection string or URI. Source availability is not checked and paths are not rewritten.
OptionalstylesNamed style variants holding this layer type's settings.
OptionaltemporalTime settings (<temporal>).
OptionaltimestampData timestamp (<timestamp>) in ISO 8601, written by some providers.
Discriminant for a tiled scene layer.
OptionalunmodeledXML of this <maplayer> that the model does not cover; see QgsUnmodeled.
Optionalwgs84Layer extent in WGS 84, as stored by QGIS.
Tiled scene layer.