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

212
1
03-07-2011 09:58 AM
Highlighted
New Contributor III
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.
Reply
0 Kudos
1 Reply
Highlighted
New Contributor III
I resolved my question, thanks!
Reply
0 Kudos