Select to view content in your preferred language

What is the best way to save & import a layer style in Map Viewer?

1055
5
06-23-2023 11:36 AM
JanetSilb_Spike
New Contributor III

Hi, I am sure there must be an easy way to save a layer style in Map Viewer to import and re-use with other feature layers in the same map, or in new web maps.  I know I can save styling configured to a layer by clicking the 3 dots next to the layer & saving the layer, as opposed to just saving the web map. But then is there a way to copy that styling to another feature layer that has the same schema? 

I just reviewed the "What's New in ArcGIS Online - June 2023" blog and didn't see anything there.  

5 Replies
RussRoberts
Esri Notable Contributor

We currently do not have a way out of the box to apply a style from one layer to another in Map Viewer.  If you are comfortable with modifying web map JSON you could duplicate the layer that has been styled as you want and use ago-assistant to swap out the source url and item.

0 Kudos
JanetSilb
New Contributor

Thank you Russ.  If I'm not comfortable with modifying JSON or AGO Assistant, then I have to re-symbolize manually each time?

0 Kudos
RussRoberts
Esri Notable Contributor

Yup you will have to manually do it, if you have pro you could do this workflow:

- Copy and paste the feature layer with the styling/config you want.

- Set the data source to the other feature layer

- Save Web Map from Pro on the Share ribbon.

0 Kudos
Clubdebambos
Occasional Contributor III

If you are comfortable with Python and JSON files you can use the ArcGIS for Python API and store your symbology in JSON files. See this community post

~ learn.finaldraftmapping.com
JanetSilb
New Contributor

Thanks. I'm not versed in Python or JSON but your community post is helpful so I a may be able to follow that.

0 Kudos