Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

map_layers variable does not return layer names #27562

Closed
qgib opened this issue Aug 30, 2018 · 4 comments
Closed

map_layers variable does not return layer names #27562

qgib opened this issue Aug 30, 2018 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Expressions Related to the QGIS expression engine or specific expression functions

Comments

@qgib
Copy link
Contributor

qgib commented Aug 30, 2018

Author Name: Harrissou Santanna (@DelazJ)
Original Redmine Issue: 19737
Affected QGIS version: 3.3(master)
Redmine category:expressions


Select a map item in the layout
Scroll to the variables frame in the item properties and check the map_layers variable; it shows [<map_layer>, <map_layer>,&...]. I'd have expected to see layer names instead. Checking this variable in the expression dialog of a property of the map item also displays the same output (at the bottom of the dialog)

@qgib
Copy link
Contributor Author

qgib commented Aug 30, 2018

Author Name: Nyall Dawson (@nyalldawson)


Those are layer values though, not strings

@qgib
Copy link
Contributor Author

qgib commented Aug 31, 2018

Author Name: Harrissou Santanna (@DelazJ)


Ah, right. Not sure what would then be the "fix". Should we close this?

@qgib
Copy link
Contributor Author

qgib commented Aug 31, 2018

Author Name: Nyall Dawson (@nyalldawson)


I think so.


  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Aug 31, 2018
@qgib
Copy link
Contributor Author

qgib commented Sep 2, 2018

Author Name: Giovanni Manghi (@gioman)


  • resolution was changed from to invalid

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Expressions Related to the QGIS expression engine or specific expression functions labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Expressions Related to the QGIS expression engine or specific expression functions
Projects
None yet
Development

No branches or pull requests

1 participant