I saved a layer using the new map viewer in ArcGIS Online, and now the feature layer renderer isn't getting updated. Watch this to see the issue.
I have 2 questions:
Here is the test layer I created in the video above.
Here is the codepen showing they layer loaded uses the layer renderer, not what is saved in the new map viewer.
Thanks!
Solved! Go to Solution.
With some help from Esri Support, I figured out how to delete the symbology of a layer that has been saved in the new map viewer and restore it to work in the classic map viewer.
4. Edit the Data JSON object to be "{}".
After you do that, then, when you view the layer in the classic map viewer, or an app using ArcGIS Javascript API, then the symbology saved on the layer will appear.
Ah-ha! I found where the symbology is being saved. I watched the network traffic for the visualization tab and I see it is getting the symbology from here:
Now, the big question for me is:
How can delete that symbology and have it go back to using the drawing info renderer saved here:
With some help from Esri Support, I figured out how to delete the symbology of a layer that has been saved in the new map viewer and restore it to work in the classic map viewer.
4. Edit the Data JSON object to be "{}".
After you do that, then, when you view the layer in the classic map viewer, or an app using ArcGIS Javascript API, then the symbology saved on the layer will appear.