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")))
);

Return

expression

Parameters

input

expression input

See also

<a href="https://maplibre.org/maplibre-style-spec/expressions/#concat">Style specification</a>

open fun concat(@NonNull input: Array<String>): Expression

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"))
);

Return

expression

Parameters

input

expression input

See also

<a href="https://maplibre.org/maplibre-style-spec/expressions/#concat">Style specification</a>