product

open fun product(@Size(min = 2) numbers: Array<Expression>): Expression

Returns the product of the inputs.

Example usage:


CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
    circleRadius(product(literal(10.0f), ln2()))
);

Return

expression

Parameters

numbers

the numbers to calculate the product for

See also

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

open fun product(@Size(min = 2) numbers: Array<Number>): Expression

Returns the product of the inputs.

Example usage:


CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
    circleRadius(product(10.0f, 2.0f))
);

Return

expression

Parameters

numbers

the numbers to calculate the product for

See also

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