Publishing web layers using ArcGIS Pro
Publishing layer packages to ArcGIS Online is extremely useful if you need to share data with someone that needs to have access to the entire dataset and to work on a copy of the data. This allows them to run different scenarios, perform different analyses, and make changes to the data without actually impacting the data sharing through ArcGIS Online. What if you wanted to share a layer to ArcGIS Online that you wanted included in a web map, which users would access through the ArcGIS Online Web Map Viewer, or other custom web or mobile applications? A layer package would not allow that. What you need is a web layer.
Web layers allow you to publish a single layer so that it may be added to a web map. You add the layer using the same process you used in Chapter 12, Introducing ArcGIS Online, and the Creating a simple web map in ArcGIS Online recipe. Once added to a web map, you can then visualize it using the Web Map Viewer application or even incorporate...