AnsweredAssumed Answered

Unable to import display styling for image services from web map into javascript API 4.5 application?

Question asked by twnawrocki on Nov 9, 2017
Latest reply on Nov 10, 2017 by jgrayson-esristaff

I have a web map created in ArcGIS Online that shows two image services representing land cover data. The web map symbolizes on a particular attribute field with a unique color for each field value. When that web map is pulled into an ArcGIS javascript API 4.5 application, the symbol styling is not imported in the application. Instead, the styling degrades to a default state. I do not see this problem in ArcGIS javascript API 3.22, but I would much rather use 4.5 for other functions. Is there a way to force the application to honor the styling set in the web map? When I build the web map in the 4.5 application from json, I see the same problem of the application ignoring the display rules set in the json.


Here is the web map I'm working with, and a fiddle of that web map pulled into the JS API 4.5.