sin
Returns the sine of the input.
Example usage:
CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
circleRadius(sin(pi()))
);
Content copied to clipboard
Return
expression
Parameters
number
the number to calculate the sine for
See also
<a href="https://maplibre. org/maplibre-style-spec/expressions/#sin">Style specification</a>
Returns the sine of the input.
Example usage:
CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
circleRadius(sin(90.0f))
);
Content copied to clipboard
Return
expression
Parameters
number
the number to calculate the sine for
See also
<a href="https://maplibre. org/maplibre-style-spec/expressions/#sin">Style specification</a>