hi guys, in my solution project,I use the mef(microsoft extensible framework) to dynamicly load my layers, so there is the problem:
For the reason of efficiency ,which solution below should I take?
1:Binding a Legendlike treeview to Featurelayers,contol the loading featurelayer action by tiping the treeview checkbox;In this way, everytime we switch the visibility of the layer,actually we reload a new featurelayer,I think it works in low efficiency?
2.Like the ESRI suggests, just load all the layers at the beginning,and control every layer's visibility by Legend.
Which is better for a larger project?I suggest the second,but my boss took the first,i just want to know ,how the visibilty property works?when it is false,it stores the data in memory?Any reply will be appreciated!!