1
2
3
4
5
6
7
8
9
10
11
12
13
const renderer = new RasterShadedReliefRenderer({
altitude: 45, // angle of elevation above the horizonazimuth: 315, // position along the horizonhillshadeType: hillshadeType, // either "traditional" or "multi-directional"zFactor: 1,
scalingType: "adjusted",
colorRamp: colorRamp
});
const layer = new ImageryTileLayer({
url: url,
renderer: renderer // set the renderer on the layer});