concat
Returns a string consisting of the concatenation of the inputs.
Example usage:
SymbolLayer symbolLayer = new SymbolLayer("layer-id", "source-id");
symbolLayer.setProperties(
textField(concat(get("key-to-string-value"), literal("other string")))
);
Content copied to clipboard
Return
expression
Parameters
input
expression input
See also
<a href="https://maplibre. org/maplibre-style-spec/expressions/#concat">Style specification</a>
Returns a string consisting of the concatenation of the inputs.
Example usage:
SymbolLayer symbolLayer = new SymbolLayer("layer-id", "source-id");
symbolLayer.setProperties(
textField(concat("foo", "bar"))
);
Content copied to clipboard
Return
expression
Parameters
input
expression input
See also
<a href="https://maplibre. org/maplibre-style-spec/expressions/#concat">Style specification</a>