Retrieve a layer's XML style element.
mapLayer.style(layer, ...)
| layer | layer (or ID of the layer) whose style to access. |
|---|---|
| ... | low-level parameters (such as |
An object of class xml_document (and xml_node) representing the
layer's style. In order to retrieve the style as a plaintext string,
simply pass the optional as = 'text' argument to suppress automatic
parsing.