division
Returns the result of floating point division of the first input by the second.
Example usage:
CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
circleRadius(division(literal(10.0f), pi()))
);
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/#/">Style specification</a>
Returns the result of floating point division of the first input by the second.
Example usage:
CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
circleRadius(division(10.0f, 20.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/#/">Style specification</a>