min
Returns the minimum value of the inputs.
Example usage:
CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
circleRadius(min(pi(), literal(3.14f), literal(3.15f)))
);
Content copied to clipboard
Return
expression
Parameters
numbers
varargs of numbers to get the minimum from
See also
<a href="https://maplibre. org/maplibre-style-spec/expressions/#min">Style specification</a>
Returns the minimum value of the inputs.
Example usage:
CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
circleRadius(min(3.141, 3.14f, 3.15f))
);
Content copied to clipboard
Return
expression
Parameters
numbers
varargs of numbers to get the minimum from
See also
<a href="https://maplibre. org/maplibre-style-spec/expressions/#min">Style specification</a>