javascript - add layer values to legend -


i have created legend.

var legend = new legend({       map: map,       layerinfos: [         {           layer: s_layer,           title: "factors"         }        ]     }, "legenddiv");     legend.startup();   

now want add attribute of same layer legend. have seen examples of adding layer legend . not find example of how add attributes of same layer legend. can tell me how solve problem?


Comments

Popular posts from this blog

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

html - How to custom Bootstrap grid height? -