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.
Optional 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.
OptionalitemsAnnotation items.
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.
OptionalnameLayer name, also written to its tree references.
OptionalnotesUser notes (<userNotes value>), often HTML.
OptionalopacityLayer opacity: 0 is transparent and 1 is opaque in QGIS.
OptionalproviderQGIS provider identifier, such as ogr, gdal, memory, or wms.
OptionalproviderProvider character encoding.
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.
OptionalsourceProvider connection string or URI. Source availability is not checked and paths are not rewritten.
OptionalstylesNamed style variants.
OptionaltemporalTime settings (<temporal>).
OptionaltimestampData timestamp (<timestamp>) in ISO 8601, written by some providers.
OptionalunmodeledXML of this <maplayer> that the model does not cover; see QgsUnmodeled.
Optionalwgs84Layer extent in WGS 84, as stored by QGIS.
The project's main annotation layer: common layer settings and its items.