I tried

layer_property( 'layer', 'title')

I would like to return the current layer from the map instead of 'layer'. (or list of the layers on the map?)

Doesn't seems to works with




It's for a model composer, that's why i want it dynamics.

  • did you find a solution? Have a similar challenge now.
    – Phil
    Commented Mar 6, 2017 at 20:05
  • Nope, I leff this idea, and i did it brutal : writing each time this info. May be with the new version, currently using las palmas, apparently there is a variable attached with the layer : "layer_id" But i'm not expert with expression... Commented Mar 9, 2017 at 18:38


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.