{
  "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.",
  "examples": [
	{ "expression": "$map", "returns": "\"overview_map\"", "description": "within a composer item"},
	{ "expression": "$map", "returns": "\"canvas\"", "description": "within the main QGIS main canvas"}
  ]
}