I just want to set dynamic visibility for specific layer from legend in MW6 (C#). But program stopped at this line in layer.cs:
DynamicVisibilityWidth = MapFrame.Extents.Width;
I have discovered that this happens only when layers are in the groups. How to handle dynamic visibility for layer in group?
What to do, what is wrong with MapFrame.Extents? Is it empty or what?
Thanks for any help, Vojko