2

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

 layer_id

or

@layer_name

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

2
  • did you find a solution? Have a similar challenge now. – Phil Mar 6 '17 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... – Vincent Dulout Mar 9 '17 at 18:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.