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

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -