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

html - How to custom Bootstrap grid height? -

javascript - pass values from mssql to views in node -

image - python get coordinates (pixels) of corresponding points from clicks -