Select to view content in your preferred language

Server REST layer's drawing info different than symbology on web map

932
4
05-05-2022 10:33 AM
JordanDavis2
Emerging Contributor

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.

0 Kudos
4 Replies
jcarlson
MVP Esteemed Contributor

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.

jcarlson_0-1651772421612.png

On Portal, you'll need to edit the JSON of the map to remove its symbology settings for the layer.

- Josh Carlson
Kendall County GIS
JordanDavis2
Emerging Contributor

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.

 

 

0 Kudos
Kevin_Peel
Occasional Contributor

On the new Map Viewer:

  1. Select the layer so that the icons on the right side are enabled
  2. Click on the Properties icon on the right side (top icon)
  3. Expand the Information drawer
  4. At the bottom of the drawer, press the Manage layer properties button to open the menu that was shown by Josh.
  5. think you then need to press the Save button a little above the Manage layer properties button to have it write to the service, but I'm not sure.

I think that should do what you're hoping...

0 Kudos
Tiff
by
Frequent Contributor

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.

0 Kudos