AnsweredAssumed Answered

How to use a definition query in the legend widget?

Question asked by FriediL on Mar 10, 2016

I'm loading a feature layer with a definition query into a webmap. The definition query is done on the field that defines the symbol (such as type<> X AND type <>Y). Now I have the legend displayed fine but it bothers me that I see all possible symbols of the layer and not only those defined by the definition query of the layer.
Is there a way to do that?