Select to view content in your preferred language

toggle label visibility

760
1
04-11-2011 10:46 PM
RichardKaufholz
Deactivated User
Hi Everyone,

Seems like a pretty simple task - hopefully there is a simple solution that I cant see.

If I publish a map service with layers that have labeling setup and turned on, how do I turn those labels off dynamically?

I can see in the REST info that the labeling info is provided, but cant see anything in the API to say labels.show() or labels.hide().

I have also tried using annotation as an alternative, but cannot seem to group all annotation into a single group layer, so that isnt looking like a viable work-around as yet.

Thanks!
Richard.
0 Kudos
1 Reply
VasiliPupnikov
New Contributor
same crap. there is no possibility to toggle labels. REST API only provide labeling info, but can not change labels visibility
0 Kudos