diana31

How can I get the name of a selected layer in the TOC?

Discussion created by diana31 on Mar 7, 2011
Latest reply on Mar 7, 2011 by diana31
Hi! I have a new question, how can I get the name of a selected layer in the TOC?

I am using
toc.hitTest(e.getX(), e.getY(), item, map, layer, other, index);
but this do not show me the name of layer.

Thanks for your help.

Outcomes