Style for raster layers.
A number with an opacity value between 0 and 1. 0 is fully transparent t, 1 is fully opaque. By default, the value is 1.
An expression to displace terrain elevation data.To create expressions, you must use the factory methods in the ExpressionFactory module. The expression must be well-formed and resolve to a point value.
If you want to update the styling very often, consider using parameters in your expressions. Changing the values of parameters is more efficient than replacing the whole expression.
// Example of a displacement expression that pushes down everything inside a shape. var _ = ExpressionFactory; var shape = _.orientedBox(layer.orientedBox); rasterStyle.displacementExpression = _.pushDown(shape);