Description
Class added v2.0.
Specifies the processing to be done to the image service.
Samples
Search for
samples that use this class.
Class hierarchy
esri.layers.RasterFunction
Constructor
Properties
| arguments |
Object
|
Specify the input arguments to the raster function, e.g. clipping geometry for the ClipFunction. |
| functionName |
String
|
The raster function name. View the Raster Functions documentation in the REST help for more details. |
| variableName |
String
|
Variable name for the raster function. |
Methods
| toJson() |
Object
|
Returns an easily serializable object representation of the raster function. |
Constructor Detail
esri.layers.RasterFunction()
Creates a new RasterFunction object.
Code snippets:
var rasterFunction = new esri.layers.RasterFunction();
rasterFunction.functionName = "Hillshade";
Properties Detail
The argumens for the raster function. The structure depends on the function specified.
Code snippets:
rasterFunction.arguments = {
"Azimuth":215.0,
"Altitude":75.0,
"ZFactor":0.3
};
The raster function name. View the
Raster Functions documentation in the REST help for more details.
Code snippets:
rasterFunction.functionName = "Hillshade";
Variable name for the raster function.
Code snippets:
rasterFunction.variableName = "DEM";
Methods Detail
Returns an easily serializable object representation of the raster function. (As of v2.0)
Return value: Object