Skip to content

Contains the drawing information for image service based layers.

Referenced by: Raster Layer Definition

Properties

Property Details
renderer An object defining the symbology for the layer.

Drawing info with a stretch renderer Example

{ "renderer": { "colorRamp": { "type": "algorithmic", "algorithm": "esriHSVAlgorithm", "fromColor": [ 0, 0, 255, 255 ], "toColor": [ 0, 255, 0, 255 ] }, "dra": false, "gamma": [ 1 ], "max": 255, "min": 0, "statistics": [ [ -1, 1, 0, 0.1 ] ], "useGamma": false, "stretchType": "minMax", "type": "rasterStretch" } }

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.