Apply a hillshade renderer to a raster.

Use case
An environmental agency may track coastal erosion by comparing images of an area taken over a longer period of time with hillshade renderers applied.
How to use the sample
Choose and adjust the settings to update the hillshade renderer on the raster layer. The sample allows you to change the Altitude, Azimuth, and Slope Type.
How it works
- Create a
Rasterfrom a grayscale raster file. - Create a
RasterLayerfrom the raster. - Create a
Basemapfrom the raster layer and set it to the map. - Create a
HillshadeRenderer, specifying the altitude, azimuth, slope type and other properties. - Set the hillshade renderer to be used on the raster layer.
Relevant API
- Basemap
- HillshadeRenderer
- Raster
- RasterLayer
Tags
altitude, angle, azimuth, raster, slope, visualization