You are using a browser that is no longer supported. Please use the latest version of Google Chrome, Mozilla Firefox, Apple Safari, or Microsoft Edge. For more information please see the System Requirements.
Skip To ContentArcGIS for DevelopersSign In Dashboard

Note: Support for 3D on mobile devices may vary, view the system requirements for more information.

This sample sets a service defined raster function in a rendering rule on an ImageryLayer. The image service is an IKONOS-2 scene of Toronto. It has four bands: blue, green, red, and near-infrared (NIR).

The TorontoFalseColor raster function template in the sample uses the NIR, Red, and Green bands to composite a false color image. It applies an extract band function and a percent clip stretch, which displays rendered pixel values differently from the original pixel values.

A popupTemplate is configured to display this information when you click any pixel on the layer.

Sample search results