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