atan

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

Returns the arctangent of the input.

Example usage:


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

Return

expression

Parameters

number

the number to calculate the arctangent for

See also

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

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

Returns the arctangent of the input.

Example usage:


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

Return

expression

Parameters

number

the number to calculate the arctangent for

See also

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