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