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
Unable to retrieve variables from another layout item #26893
Comments
Author Name: Nyall Dawson (@nyalldawson) This works fine for me (and there's multiple unit tests protecting this) - can you attach a sample project? Note that no items have an id by default - you always need to manually set ids.
|
Author Name: Harrissou Santanna (@DelazJ) Nyall Dawson wrote:
Then what does represent the "Map 1", "Map 2" texts that appear at the top of the map item properties, and replaced by the "Item ID" when set? aren't they some kind of default internal IDs? Should they not be used for such a feature?
Done (project, data and screenshot).
|
Author Name: Harrissou Santanna (@DelazJ)
|
Author Name: Harrissou Santanna (@DelazJ)
|
Author Name: Harrissou Santanna (@DelazJ) Added new files as there was an error in what i previously sent
|
Author Name: Nyall Dawson (@nyalldawson) Applied in changeset 57c442a.
|
Author Name: Harrissou Santanna (@DelazJ)
Original Redmine Issue: 19063
Affected QGIS version: 3.1(master)
Redmine category:map_composer/printing
According to the function help and documentation @map_get(item_variables('Map 1'), 'map_scale')@ would help me retrieve the scale of a map item and use it for example in a label. This does no longer work unless I manually set the Item ID property of the map item, using only digits (eg. 1 or 124).
I'm not sure it makes sense and it's a nice UX to have for example my map named 1 instead of Map1 or my local map...
Using e7da103
The text was updated successfully, but these errors were encountered: