ceil
Returns the smallest integer that is greater than or equal to the input.
Example usage:
CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
circleRadius(ceil(pi()))
);
Content copied to clipboard
Return
expression
Parameters
expression
number expression to get value from
See also
<a href="https://maplibre. org/maplibre-style-spec/expressions/#abs">Style specification</a>
Returns the smallest integer that is greater than or equal to the input.
Example usage:
CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
circleRadius(ceil(3.14159265359))
);
Content copied to clipboard
Return
expression
Parameters
number
number to get value from
See also
<a href="https://maplibre. org/maplibre-style-spec/expressions/#abs">Style specification</a>