Skip to content

scale

Scales and shifts the heights so far, for vertical exaggeration or a datum shift.

Key Type Default Range Unit Description
scale number 1.0 Factor every height so far is multiplied by, as for vertical exaggeration.
offset number 0.0 m Metres added to every height after scaling, to shift the datum.
Every key with its default
{
    "type": "scale",
    "scale": 1.0,
    "offset": 0.0
}

Used in: example_layers_regions, example_layers_scale_and_clamp