acos

open fun acos(@NonNull number: Expression): Expression

Returns the arccosine of the input.

Example usage:


CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
    circleRadius(acos(pi()))
);

Return

expression

Parameters

number

the number to calculate the arccosine for

See also

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

open fun acos(@NonNull number: Number): Expression

Returns the arccosine of the input.

Example usage:


CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
    circleRadius(acos(0))
);

Return

expression

Parameters

number

the number to calculate the arccosine for

See also

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