Is it possible to turn off labels on a WMS service ?

1693
3
06-21-2017 12:58 AM
Ganael_Jatteau
New Contributor II

Hello,

Is there a way to specify the label visibility when querying a WMS service?

I mean the same way we can do it when using the parameter "dynamicLayers" with the export operation.

Thanks in advance for your help.

Ganaël

0 Kudos
3 Replies
FC_Basson
MVP Regular Contributor

Do you have control over the WMS?  If you do then it is probably better to create a new layer for the labels of which you can toggle the visibility on the client side.  Otherwise I don't think it is possible.

JayantaPoddar
MVP Esteemed Contributor

I agree with FC Basson‌. You need to add a separate layer with labels turned on (symbology with No Color). Toggle the display of this layer to control the visibility of labels.

Using WMS service layers—Help | ArcGIS Desktop 

You can turn the visibility of service and service sublayers on and off using the check boxes in the table of contents. You cannot toggle the visibility of WMS sublayer labels.



Think Location
Ganael_Jatteau
New Contributor II

Thanks for your quick reply!

0 Kudos