asin

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

Returns the arcsine 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 arcsine for

See also

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

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

Returns the arcsine of the input.

Example usage:


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

Return

expression

Parameters

number

the number to calculate the arcsine for

See also

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