Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update references to compositions in expression function help
(cherry picked from commit bbb4334)
- Loading branch information
1 parent
e078877
commit 3066a74
Showing
3 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"name": "$map", | ||
"type": "function", | ||
"description": "Returns the id of the current map item if the map is being drawn in a composition, or \"canvas\" if the map is being drawn within the main QGIS window.", | ||
"description": "Returns the id of the current map item if the map is being drawn in a print layout, or \"canvas\" if the map is being drawn within the main QGIS window.", | ||
"examples": [ | ||
{ "expression": "$map", "returns": "\"overview_map\"", "description": "within a composer item"}, | ||
{ "expression": "$map", "returns": "\"overview_map\"", "description": "within a layout map item"}, | ||
{ "expression": "$map", "returns": "\"canvas\"", "description": "within the main QGIS main canvas"} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "$page", | ||
"type": "function", | ||
"description": "Returns the current page number within a composition.", | ||
"description": "Returns the current page number within a print layout.", | ||
"examples": [ { "expression":"$page", "returns":"2"} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters