Select to view content in your preferred language

Layer visibility for multiple services

148
2
Jump to solution
11-22-2024 06:34 AM
Labels (1)
Leonidas
Emerging Contributor

Our organization is currently on Enterprise 10.9.1 and likely upgrading sometime next year.  I am having what seems to be a glitch in the 'new map viewer'.  We have created a web map with some services and a few groups with individual  layers.  We would like to set a default view in the web map with only certain layers toggled on.  We do not want to change this in the underlying ArcGIS server services as they are used in other applications.  We also want to avoid making a new service for this as our number of instances is on the high side already.

I have 2 services that I would like only some of the layer turned on.  I can toggle some of the layers off in service A and they will show up properly.  Once I change some of the layers that are on by default in service B, service A reverts to the default layer visibility in the underlying service.  I am only able to adjust the layer visibility in only one service in the web map.  I have tried turning on dynamic layer support in the services but there is no difference.

I tried the same thing ArcGIS Online and it allows for the adjustment of layer visibility for multiple services.  Unfortunately, I can not use ArcGIS Online for this application.  

Is there a setting I am missing somewhere.  It would seem my only option would be to add each individual layer from the service and the add to a group.  I tried this for one of the services and the draw performance takes a hit.  

Thanks

0 Kudos
1 Solution

Accepted Solutions
simoxu
by MVP Regular Contributor
MVP Regular Contributor

I don't think you've missed any settings, it's just the map viewer version - the map viewer in AGOL is at least major updates ahead of the version in the ArcGIS Enterprise 10.9.1.  the map viewer in the last Enterprise is way better...

You have actually figured out the only option: 

"It would seem my only option would be to add each individual layer from the service and the add to a group.  I tried this for one of the services and the draw performance takes a hit. "

The performance issue is caused by rendering the feature services in the browser, I imagine you have quite a few features to draw or complicated symbols are involved. when you add individual layers you are using the feature services instead of the map service.

Sorry I know this may not be very helpful...

View solution in original post

2 Replies
simoxu
by MVP Regular Contributor
MVP Regular Contributor

I don't think you've missed any settings, it's just the map viewer version - the map viewer in AGOL is at least major updates ahead of the version in the ArcGIS Enterprise 10.9.1.  the map viewer in the last Enterprise is way better...

You have actually figured out the only option: 

"It would seem my only option would be to add each individual layer from the service and the add to a group.  I tried this for one of the services and the draw performance takes a hit. "

The performance issue is caused by rendering the feature services in the browser, I imagine you have quite a few features to draw or complicated symbols are involved. when you add individual layers you are using the feature services instead of the map service.

Sorry I know this may not be very helpful...

Leonidas
Emerging Contributor

Thanks for the reply. We will likely have to work around this until we upgrade.  

0 Kudos