mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			615 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			615 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
{
 | 
						|
  "name": "map",
 | 
						|
  "type": "function",
 | 
						|
  "groups": ["Maps"],
 | 
						|
  "description": "Returns a map containing all the keys and values passed as pair of parameters.",
 | 
						|
  "variableLenArguments": true,
 | 
						|
  "arguments": [
 | 
						|
    {"arg":"key1", "syntaxOnly": true},
 | 
						|
    {"arg":"value1", "syntaxOnly": true},
 | 
						|
    {"arg":"key2", "syntaxOnly": true},
 | 
						|
    {"arg":"value2", "syntaxOnly": true},
 | 
						|
    {"arg":"key", "descOnly": true, "description":"a key (string)"},
 | 
						|
    {"arg":"value", "descOnly": true, "description":"a value"}],
 | 
						|
  "examples": [ { "expression":"map('1','one','2', 'two')", "returns":"{ '1': 'one', '2': 'two' }"}
 | 
						|
  ]
 | 
						|
}
 |