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

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