Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Implement $map variable, which returns the current composer map item …
…id where the map is being drawn, or 'canvas' if the map is being drawn in the main QGIS window. Partly implements #9288.
- Loading branch information
1 parent
9a58828
commit c45bf50
Showing
3 changed files
with
23 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<h3>$map function</h3> | ||
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. | ||
|
||
<h4>Syntax</h4> | ||
<pre>$map</pre> | ||
|
||
<h4>Arguments</h4> | ||
None | ||
|
||
<h4>Example</h4> | ||
<!-- Show example of function.--> | ||
<pre>$map → "overview_map" (within a composer item)<br /> | ||
$map → "canvas" (within the main QGIS main canvas)</pre> | ||
|
||
|
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
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