Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Update references to compositions in expression function help
- Loading branch information
Showing
with
5 additions
and 5 deletions.
@@ -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"} | ||
] | ||
} |
@@ -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"} | ||
] | ||
} |