Initializing an AGSGroupLayer and adding or removing AGSMapLayers

2579
2
Jump to solution
08-12-2013 01:43 PM
DirkVandervoort
Occasional Contributor II
AGSGroupLayer is defined as
A group layer is a collection of AGSLayers.


The SDK does not indicate any obvious methods for adding or removing AGSLayers to an AGSGroupLayer.

Did I miss something?

TIA
0 Kudos
1 Solution

Accepted Solutions
NimeshJarecha
Esri Regular Contributor
Currently AGSGroupLayer is only supported with AGSMPMessageProcessor. We'll add support for add/remove all type of layers to AGSGroupLayer in the future.

I would suggest logging request on http://ideas.arcgis.com.

Regards,
Nimesh

View solution in original post

0 Kudos
2 Replies
JamesRichards1
Occasional Contributor
+1

I would like the ability to organize layers into groups on the client side. There doesn't seem to be a way to do this with the SDK. It seems that AGSGroupLayer is only useful for working with group layers that are pre-defined in a MapServer or FeatureServer.
0 Kudos
NimeshJarecha
Esri Regular Contributor
Currently AGSGroupLayer is only supported with AGSMPMessageProcessor. We'll add support for add/remove all type of layers to AGSGroupLayer in the future.

I would suggest logging request on http://ideas.arcgis.com.

Regards,
Nimesh
0 Kudos