Select to view content in your preferred language

Identify LayerOption.all

410
1
09-02-2011 11:11 AM
DaveOrlando
Frequent Contributor
Hello,

ESRI: can you confirm that LayerOption.all will not honor layers more than one group layer deep.

Do I need to follow the same technique used to fix the .visble oversight? ie LayerIds.AddRange, but just make a list from 0 - max.

Thanks,
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
The identify result with LayerOption.all is depending on LayersIds.

If you don't set LayersIds, :the identify task works on all layers whatever their default visibility, whatever the scale and whatever the group layer deep.

If you set LayersIds, the identify task works on all the layers of the list whatever the scale knowing that if a group layer is in the list, all its sublayers (and sublayers of sublayers, ...) will be identified as well.
0 Kudos