Note:
This functionality is currently only supported in Map Viewer Classic (formerly known as Map Viewer). It will be available in a future release of the new Map Viewer.
Layer owners (or administrators) define a layer's properties. When you create a map that contains a layer owned by someone else, you can make a copy of the layer in your map so that you can configure different properties on the copied layer. If you have privileges to create content, you can save the layer as a new item in My Content, which allows you to take advantage of your layer configuration in other maps.
- Copy—To customize the configuration of a layer without affecting the configuration of the source layer, make a copy of the layer in your web map. This creates a layer in your web map that references the source layer.*
This copy is only available in the web map where you make the copy.
- Save the copy—If you want to make the layer configuration changes available for use in other web maps, save your layer copy. This creates a layer item in My Content. Be aware that this new layer item still references the source layer.*
The advantage to saving a copy of the layer is you can save configuration changes to your copy and use the copied layer with its altered configuration in other web maps.
Note:
*When you copy a feature collection or map notes layer, the data in the source layer is copied. No reference to the source layer is maintained. However, for all of the following layer source types, your layer copy references the data contained in the source layer:
- ArcGIS Server layers
- Hosted feature layers
- Tile layers
- Route layers
- WFS, WMS, or WMTS layers
If you change the configuration of your copy of the layer, this does not affect the configuration of the source layer. If you delete your copy, the original data still exists in the source layer but you lose your layer configurations. If the owner of the source layer deletes it or removes access (in other words, they stop sharing it in a way that allows you to access it), and your copy references the source layer, the data is no longer available in your copy and will not display in your map.
Copy layers
Copy a layer in your map when you want to configure the properties of the layer in different ways. For example, a health care data layer aggregated by hospital service areas likely contains attributes for many types of diseases. You could create a copy of the layer and symbolize the data on the rate of depression. You could create another copy of the layer and symbolize that on the rate of Alzheimer's. If you save these layers, you could reuse them in different maps (and the data is already symbolized the way you like it). You do not need to be the owner of the layer to make a copy of it.
You can copy ArcGIS Server layers, files you imported to the map, hosted feature layers, tile layers, map notes, route layers, WFS layers, WMS layers, and WMTS layers. You cannot copy basemaps, CSV files from the web, GeoRSS, or KML.
If you copy an editable feature layer, the copied layer is also editable. Edits made to copies change the source data. If the owner of the source layer removes the ability to edit, your copy is no longer editable.
- Verify that you are signed in and have privileges to create content.
Note:
If you do not have privileges to create content, you can still copy layers by clicking Modify Map.
- Open the map in Map Viewer Classic, click Details, and click Contents.
- Browse to the layer you want to copy, click More Options , and click Copy.
A copy of the layer is added to the map contents. You can now configure the properties of this layer and save the layer as a new item.
Save layers
If you have privileges to create content, you can save ArcGIS Server layers, files you imported to the map, hosted feature layers, tile layers, map notes, route layers, WFS layers, WMS layers, and WMTS layers as new items in My Content and use the layer in other maps. You cannot save basemaps, GeoRSS, KML, or CSV files from the web. When you save layers you imported from a file or save map notes, you save the actual data.
After you add your saved layer to Map Viewer Classic from My Content, you can change the layer's display properties. For example, you can change style, configure pop-ups, set the visible range, set a refresh interval, hide the layer in the legend, and apply filters. You can save these changes as properties of the item so the properties apply to the layer anytime it appears in a map.
Note:
You can only save item properties on layers you own and have added to the website. The configuration applies to the item in the portal only and not the actual service running on your ArcGIS Server site. You cannot save item properties on imported layers from files because these layers are stored in the map and not as unique items in the portal website.
Follow these steps to save a copy of a layer:
- Verify that you are signed in and have privileges to create content.
- Open the map in Map Viewer Classic, click Details, and click Contents.
- Browse to the layer you want to save, click More Options , and click Save Layer.
- If you are saving the layer for the first time or saving a copy of the layer, you create a new item in the site with your layer configurations:
- Type a title.
- If your organization has set up content categories, click Assign Category and select up to 20 categories to help people find your map. You can also use the Filter categories box to narrow the list of categories.
- Type tags and a summary that describe the layer.
- Choose a folder in My Content where you want to save the layer.
- Click Create Item.