So is the basic viewer app design to not allow you to turn individual layers on or off?.
Solved! Go to Solution.
If you add a map service to a web map, you will only have the option to toggle on/off the entire service. For example, if I add the following URL to my web map:
http://ags/arcgis/rest/services/NapervilleWaterNetwork/MapServer
However, if I add the layers as a feature layer, you will be able to toggle them on/off. So, you will want to add each one individually. Ex:
http://ags/arcgis/rest/services/NapervilleWaterNetwork/MapServer/0
http://ags/arcgis/rest/services/NapervilleWaterNetwork/MapServer/1
http://ags/arcgis/rest/services/NapervilleWaterNetwork/MapServer/2
.....
Hi Erik,
This is possible. Take a look at the toolbar at the top left. Ex:
Jake
Then I must be doing something wrong. Because when I view my application when I click on the layers icon it pops up but only shows the name of my map service. I don't get that option to turn all my layers on or off. For example. I have water lines sewer lines pump stations meters etc. Those individual layers don't show up in the layers list. The only thing that shows is the name of the map service. So my only option is to turn all layers on or off
If you add a map service to a web map, you will only have the option to toggle on/off the entire service. For example, if I add the following URL to my web map:
http://ags/arcgis/rest/services/NapervilleWaterNetwork/MapServer
However, if I add the layers as a feature layer, you will be able to toggle them on/off. So, you will want to add each one individually. Ex:
http://ags/arcgis/rest/services/NapervilleWaterNetwork/MapServer/0
http://ags/arcgis/rest/services/NapervilleWaterNetwork/MapServer/1
http://ags/arcgis/rest/services/NapervilleWaterNetwork/MapServer/2
.....
Ok. Thanks Jake