API needs MgLayerGroup SetExpandInLegend Method
|Reported by:||amorsell||Owned by:|
|Cc:||chrisclaydon, trevorwekel, brucedechant||External ID:|
The API has an MgLayerGroup GetExpandInLegend method, but there is no SetExpandInLegend method. When programmaticly creating a new layer group, having it expanded when the legend refreshes is often desirable and there is currently no way to do this. A good example can be seen in the Modifying Maps and Layers section of the developers samples. When adding any new layer to the map, the resultant Analysis group is collapsed each time and then has to be manually expanded by the end-user.