Method Overview
Name | Return Type | Summary | Object |
---|---|---|---|
Promise<RasterColormapResult> | Generates a RasterColormapRenderer used to render imagery data. more details | colormap |
Method Details
-
createRenderer(params){Promise<RasterColormapResult>}
-
Generates a RasterColormapRenderer used to render imagery data.
ParametersSpecificationparams ObjectInput parameters for generating a colormap visualization. See the table below for details of each parameter.
Specificationlayer ImageryLayer|ImageryTileLayerThe input layer for which the renderer is generated.
renderingRule RasterFunctionoptionalSpecifies the rule for how the requested image should be rendered. When
renderingRule
is applied, the server returns updated service information that reflects custom processing as defined by the rendering rule. If not provided, the output renderer is created using the layer'srenderingRule
.signal AbortSignaloptionalAllows for cancelable requests. If canceled, the promise will be rejected with an error named
AbortError
. See also AbortController.ReturnsType Description Promise<RasterColormapResult> Resolves to an object containing a RasterColormapRenderer that can be set on the input layer.
Type Definitions
-
RasterColormapResult
-
The result object of the createRenderer() method. See the table below for details of each property.
- Property
-
renderer RasterColormapRenderer
The colormap renderer to apply to the input layer.