I need to update the symbology for a web map I have published to my portal, and I was having trouble doing that. I checked the Server REST endpoint for the layer I need to symbolize and I noticed it already had the changes I wanted to make, but they were not reflected in the symbology of the web map. I suspect it is related to editing the symbology on the layer in the portal map viewer and saving the layer visualization there.
I want to change the layer symbology shown on the web. I can attach screen shots of the REST drawing layer information and the symbology on the Map Viewer to show they are different if needed.
You're correct. When the map has its own symbology settings, it overrides / ignores any changes made to the default settings in the REST endpoint.
To reset your layer to take the defaults, AGOL has a button in the new map viewer.
On Portal, you'll need to edit the JSON of the map to remove its symbology settings for the layer.
Thank you, I'm glad I'm on the right track. I cant seem to find the menu above however. You have the map open, under layer properties, information? Also, I think you have different buttons than I do on the right hand pane, although I dont know if that would make a difference.
I'll keep poking around, thanks again.
On the new Map Viewer:
I think that should do what you're hoping...
Hi @Kevin_Peel, thanks for this - I'm trying to accomplish this now with a layer I have. For some reason I have saved the web map symbology back to the layer, but the rest service still shows the old symbology. My layer was under "stored to source layer properties" with the only option to disconnect. I disconnected layer properties, then saved the symbology to the layer again, which then noted that "Some properties are stored in this web map". But rest service is still showing the old symbology! Any advice or suggestions? Thank you.
@Tiff I have the same experience, change symbology in the web map, the hit Save and "Reset" to store it in the source layer. When i check layer properties['drawingInfo'] it is not applied to the source layer... Seems bugged. I am using group layers feature collection so maybe there is a bug with that.