set Label
@NonNull
Content copied to clipboard
Sets a label to be rendered along with a location's icon (or alone if an icon hasn't been set)
The label can be:
nullto not show a label- A literal string
- A template to render the location's name (
"{{name}}"), the externalId ("{{externalId}}") or both ("{{externalId}} {{name}}")
Note that the default is to show the Location's name ("{{name}}") as its label
Return
Parameters
label
A template string, a plain string to be shown as the label or null