Select to view content in your preferred language

how does the legend function read each layer service and return the attribute info

575
2
07-12-2012 07:00 AM
NigelAlford
Occasional Contributor
I'm looking to recreate a function and the internal process of the service reading functionality is important to this. at what point does "legendLayers" parse the service information and how. if anyone has already done this I would be more than happy to share my newly finished legend control after this is completed.
0 Kudos
2 Replies
StephenLead
Honored Contributor
You could try using esri.request to read in the layer information.
0 Kudos
NigelAlford
Occasional Contributor
Thanks!
This appears to be what I'm missing. I can seethe Json calls in the ESRI services. Now to just connect the dots...I'll have this up and running in a day or so if anyone else is interested in this pm me and I can help.
0 Kudos