cos
Returns the cosine of the input.
Example usage:
CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
    circleRadius(cos(pi()))
);
Content copied to clipboard
Return
expression
Parameters
number
the number to calculate the cosine for
See also
<a href="https://maplibre.
Returns the cosine of the input.
Example usage:
CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
    circleRadius(cos(0))
);
Content copied to clipboard
Return
expression
Parameters
number
the number to calculate the cosine for
See also
<a href="https://maplibre.