--- layout: example.html title: Shaded Relief (with WebGL) shortdesc: Calculate shaded relief from elevation data docs: >
For the shaded relief, a single tiled source of elevation data is used as input.
The shaded relief is calculated by the layer's style
with a color
expression. The style variables are updated when the user drags one of the sliders. The
band
operator is used to sample data from neighboring pixels for calculating slope and
aspect, which is done with the ['band', bandIndex, xOffset, yOffset]
syntax.
x | ||
° | ||
° |