tags:

views:

10

answers:

1
ILayer layer = mapControl.get_Layer(1); //layer 1 is usa_base_map 

I have an ILayer, now I want to access and turn on and off various sublayers like the street layer or the railroad layer. Can you tell me how to access these layers?

+1  A: 

I think you'll want to cast your group layer to an ICompositeLayer (linky).

cfern

related questions