Hello.
I am trying to add two feature layers from an offline runtime geodatabase and am not being able to access any legend information for these layers. I can access the legendInfos for dynamic map services layer.
Is this by design, or a bug?
In this case layer.legend returns an empty object (code below). Any help is appreciated.
Thank You
if(layer.layerType === Enums.LayerTypeFeature){
console.log(JSON.stringify(layer.renderer));
console.log(JSON.stringify(layer.legend));
}