log10

open fun log10(@NonNull number: Expression): Expression

Returns the base-ten logarithm of the input.

Example usage:


CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
    circleRadius(log10(pi()))
);

Return

expression

Parameters

number

the number to take base-ten logarithm from

See also

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

open fun log10(@NonNull number: Number): Expression

Returns the base-ten logarithm of the input.

Example usage:


CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
    circleRadius(log10(10))
);

Return

expression

Parameters

number

the number to take base-ten logarithm from

See also

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