Use a hillshade renderer on a raster.
Configure the options for rendering, then tap 'Apply hillshade'.
- The parameters provided by the user are passed to
HillshadeRender
at instantiation:new HillshadeRenderer(mAltitude, mAzimuth, mZFactor, mSlopeType, mPixelSizeFactor, mPixelSizePower, mOutputBitDepth);
which returns aRasterRenderer
. TheRasterRenderer
is then added to theRasterLayer
.
This sample downloads the following items from ArcGIS Online automatically:
- srtm-hillshade.zip - SRTM DEM
Visualization, hillshade, raster, shadow, slope