ln2

open fun ln2(): Expression

Returns mathematical constant ln(2).

Example usage:


CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
    circleRadius(product(literal(10.0f), ln2()))
);

Return

expression

See also

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