Please sign in to comment.
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
Showing with 23 additions and 0 deletions.
|@@ -0,0 +1,16 @@|
|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.|
|<!-- Show example of function.-->|
|<pre>$map → "overview_map" (within a composer item)<br />|
|$map → "canvas" (within the main QGIS main canvas)</pre>|