Legend Image for AGSWMSLayer

2124
0
04-18-2016 01:27 AM
LucianoRodríguez
New Contributor

Hi to everyone and thanks in advance for your support.

I'm trying to retrieve legend info (basically URL of image/s) of one WMS Layer i'm working with. The thing is that in Android, the WMSLayer has one method called getLayers() that returns an array of WMSLayerInfo objects. Each of these objects has one method called getLegendURL that retrieves the info that i'm looking for.

In Objective-C iOS SDK i'm not able to see any equivalent method. To retrieve legend information working with other kind kind of layers (no WMS) i use MapServiceInfo delegate to call retrieveLegendInfo and the legend information is retrieved, but i'm not able to do this using WMS layers, so what's the way to retrieve legend information when working with WMS Layers?

Thanks in advance,

Luciano.

0 Kudos
0 Replies