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