AnsweredAssumed Answered

Dynamic legend with ArcGISLocalTiledLayer

Question asked by ssiddiqui on Apr 8, 2015
Latest reply on Apr 8, 2015 by ssiddiqui


I am trying to create dynamic legend with ArcGISLocalTiledLayer but its not returning any layer inside it.


private ArcGISLocalTiledLayer localTiledLayer;

String basemap = landDataFile + File.separator + offlineDataSDCardDirName + File.separator + filename;

localTiledLayer = new ArcGISLocalTiledLayer(basemap);

for (ArcGISLayerInfo layerInfo : localTiledLayer .getLayers()) {



I am following the example of MapLegend which is done with ArcGISDynamicMapServiceLayer.


Please assist me where i am getting wrong .