stop

open fun stop(@NonNull stop: Any, @NonNull value: Any): Expression.Stop

Produces a stop value.

Can be used for stop as part of varargs parameter in step or interpolate.

Example usage:


CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
    circleRadius(
        step(zoom(), literal(0.0f),
        stop(1.0f, 2.5f),
        stop(10.0f, 5.0f))
    )
);

Return

the stop

Parameters

stop

the stop input

value

the stop output