How to save image layer to ArcGIS Online account

61
0
05-23-2019 12:52 PM
JamesToledano
New Contributor

I have an image service. There are raster function templates attached to it. I specify imageServiceParameters then display the image service with JavaScript API in client app. It looks good because it appears as what I expect with proper rendering (see picture below).

image with proper render

Now I want to save the layer to my AGOL account as item. I saved it successfully with addItem in REST API, but it's different from image above because the raster function template as renderer didn't go with it.

image without proper rendering

I don't find a parameter that I can use to specify rasterFunction and mosaicRule when I add item. Is there another way to do it?  Any answer will be appreciated a lot.

0 Kudos
0 Replies