pow
Returns the result of raising the first input to the power specified by the second.
Example usage:
CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
circleRadius(pow(pi(), literal(2.0f)))
);
Content copied to clipboard
Return
expression
Parameters
first
the first number
second
the second number
See also
<a href="https://maplibre. org/maplibre-style-spec/expressions/#%5E">Style specification</a>
Returns the result of raising the first input to the power specified by the second.
Example usage:
CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
circleRadius(pow(5.0f, 2.0f))
);
Content copied to clipboard
Return
expression
Parameters
first
the first number
second
the second number
See also
<a href="https://maplibre. org/maplibre-style-spec/expressions/#%5E">Style specification</a>