Select to view content in your preferred language

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

2321
5
06-23-2023 11:36 AM
JanetSilb_Spike
Regular Contributor

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.  

Janet Silbernagel, PhD, ASLA, SITES AP, WBE
Silvernail Studio for Geodesign, LLC
https://www.linkedin.com/in/jsilb/
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
Emerging 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
MVP Regular Contributor

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
Emerging 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