Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
68 additions
and
18 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,14 @@ | ||
{ | ||
"name": "represent_attributes", | ||
"type": "function", | ||
"groups": ["Record and Attributes"], | ||
"description": "Returns a map with the attribute names as keys and the configured representation values as values. The representation value for the attributes depends on the configured widget type for each attribute. Often, this is useful for 'Value Map' widgets.", | ||
"arguments": [ | ||
{"arg":"feature", "description": "The feature containing the attributes to be represented. (Optional)" }, | ||
{"arg":"layer", "description": "The vector layer the feature belongs to. (Optional)"} | ||
], | ||
"examples": [ | ||
{ "expression":"represent_attributes()", "returns":"The representation values for the current feature"}, | ||
{ "expression":"represent_attributes(feature, layer)", "returns":"The representation values for the specified feature and layer"} | ||
] | ||
} |
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