AnsweredAssumed Answered

Legend widget remove no legend message

Question asked by anjitha.conceptit on Jan 27, 2019
Latest reply on Nov 15, 2019 by nRogerGouv

I am working on Arabic Javascript Application (API 4.10)   with Legend inside the layer list .  the code as below at the moment for layerlist 

 

var layerList = new LayerList({
view: view,
listItemCreatedFunction: function (event) {
const item = event.item;
if (item.layer.type != "group"){ // don't show legend twice
item.panel = {
content: "legend",
open: true
   };
   }
   }
});

 

code is working fine but it shows No Legend in English for Arabic Application. I want to get rid of "No Legend" default message  Information. How Do I do this  (I aslo dont wanted to convert that massage data to arabic as user dosnt want) . 

 

How to remove it ?  Please see screen capture. Kindly help 

No legent message

Outcomes