How can I add a renderer to a raster sublayer of a MapImageLayer?

04-17-2024 08:15 AM
New Contributor II

I created a GeoProcessing service (GPServer) which is publishe in ArcGIS Server. The results of this GPServer is a MapServer with a GPRasterDataLayer. The default symbology of the raster is a gray scale palette.

How can I add a new render for this raster in the MapImageLayer? I only achieve to change the opacity and the title.

When I run submitJob() (ArcGIS Maps SDK for JavaScript 4.29) I obtain a MapImageLayer using the function FetchResultMapImageLayer(). How can I change the symbology of the raster from the resulting MapImageLayer?

Tags (2)
0 Kudos
0 Replies