Skip to main content
Participant
December 18, 2008
Question

How to get Layer label

  • December 18, 2008
  • 8 replies
  • 3278 views
I want get "Layer label"(not "Item label")with AEGP,b ut no API exist in LayerSuite.
Is there a method of obtaining it?
This topic has been closed for replies.

8 replies

ket-spAuthor
Participant
February 5, 2009
Layer label is not equal Item label.
They can have different label colors each other.
Known Participant
February 5, 2009
Layer is an Item.
So getting Item Label equals to getting Layer Label.
(this is similar to inheritance in object oriented programming)
ket-spAuthor
Participant
January 21, 2009
There is not GetItemFromLayer.
GetLayerSourceItem is just getting a Item, then GetItemLabel is get a "Item Label".
Inspiring
January 21, 2009
There is not getLayerLabel. You get the layer as an Item :
GetItemFromLayer
and then you get the label of the item, which should be the layer label with
GetItemLabel
ket-spAuthor
Participant
January 19, 2009
I think GetLayerSourceItem & GetItemLabel can get "Item label".
But I want to get "Layer label".
Known Participant
January 19, 2009
I think what he means is AEGP_GetLayerSourceItem
ket-spAuthor
Participant
January 9, 2009
> GetItemFromLayer
> GetItemLabel

I can't find "GetItemFromLayer" in SDK Guide(7.0 & 8.0)
Where is it?
Bruce Bullis
Legend
December 30, 2008
GetItemFromLayer
GetItemLabel