Hide Map Service Name in Legend list in Viewer
Does anybody know how to hide the name of the map services when looking at the legend?
0
-
Shaunda -
I'm not sure how to completely hide it, but are you aware you can change the display name? Go to Manager > Map >Map Services > edit the map service of interest, and change the Display Name. At least that way you can see "Friendly Service Name" instead of "Company_Service_Abbr" in the legend.
Good luck,
Jena0 -
Thanks Jena.
ideally I'd like to hide it completely, but at least changing the name to something more friendly is a good workaround. Thanks for pointing that out.0 -
Add the following into your desktop.css file and it should hide the map service name
.legend-item-parent{
display: None
}0 -
Halil -
That worked great - thanks for the real solution.
-Jena0
Please sign in to leave a comment.
Comments
4 comments