djain-esristaff

How to get the orginal layername from service

Discussion created by djain-esristaff on Sep 15, 2013
Dear All

I have a layername landmark in the mapservice whereas it its original layername is landmarkpoint. map.getLayer(map.layerIds[0]).layerInfos[0].name returns me the name displayed for the layer bt not its original name.

Please help!

Thanks
Deepika

Outcomes