How to get the orginal layername from service

416
0
09-15-2013 11:09 PM
DeepikaJain
New Contributor III
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
0 Kudos
0 Replies