Select to view content in your preferred language

Grouping layers from different services in TOC

945
4
Jump to solution
03-09-2012 04:53 AM
MattGiles
Deactivated User
Hello,
I am wondering if there is a way to group layers in the TOC that come from different services? I need to be able to do this for several reasons:

a. I have a number of imagery layers (that overlap each other) that require caching and need to be grouped together in the TOC. I cant group them in the mxd bc then i cant cache them since they overlap.
b. I want to be able to pull a single layer from a dynamic rest feed (not from our server) and group it with layers from our server in the TOC. In ArcMAP you can only pull the entire rest feed, and not specific layers from it.

If I could group layers in the TOC on the flex side, i could publish my imagery in different services and cache them. I could also load specific rest feeds from other servers as FeatureLayers, and group them with my services on the flex side.

Is this possible? Has anybody come across this issue before?
Ive been looking through the TOC package from viewer components but am fairly new to flex and am unsure of the best way to implement this in the TOC..

Thanks.
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
M Giles,

   That is correct for both questions.

View solution in original post

0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Emeritus
M Giles,

   If you search this forum for "Grouping layers" you will get 8 results and if you search the Flex API forum you will find 3 results.
0 Kudos
MattGiles
Deactivated User
Based on the threads you referred me to I gather the answer is no - the only way to group layers in the TOC is through the ArcMap document. Does this mean that layers that require caching cannot be grouped in the TOC since the cache would be generated for all the layers in the service (making it impossible to toggle specific layers on / off)??
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
M Giles,

   That is correct for both questions.
0 Kudos
MattGiles
Deactivated User
OK thanks as always Robert.
0 Kudos