AnsweredAssumed Answered

How to get legend images from map service info of any layer in SDK v100.x

Question asked by murugha23 on Apr 30, 2018
Latest reply on Apr 30, 2018 by MDostal-esristaff

Hi, 

 

I need to get legend images from map service info. In Previous run time SDK v 10.x, we have used to get the images as below.

 

-(void)Save:(AGSMapServiceInfo*)mapServiceInfo{for (AGSMapServiceLayerInfo* info in mapServiceInfo.layerInfos){   [self saveInfo:mapServiceInfo images:info.legendImages labels:info.legendLabels];
}
}

 

I tried to get the legend images from the below layer

AGSArcGISMapImageLayer

But, no luck. Im not able to find any document regarding this, even in migration document. Kindly give some suggestions to find out the classes replaced in latest run time SDK for iOS.

 

Thanks

Outcomes